From f1a35d4a20b8383503b61d072d16e403b5f0369b Mon Sep 17 00:00:00 2001 From: Joshua Andersson Date: Mon, 7 Sep 2026 03:34:56 +0200 Subject: [PATCH] More junk cases for output validator fuzzing --- problemtools/checks/validators.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/problemtools/checks/validators.py b/problemtools/checks/validators.py index 0402ef7c..522aa609 100644 --- a/problemtools/checks/validators.py +++ b/problemtools/checks/validators.py @@ -54,6 +54,12 @@ ('a file with the contents "inf"', b'inf'), ('a file with the contents "\\x00"', b'\x00'), ('a file with the contents "\\x80"', b'\x80'), + ('a file with the contents "1e1000000000"', b'1e1000000000'), + ('a file with the contents "1\n1e1000000000"', b'1\n1e1000000000'), + ('a file with the contents 10^400 ("1" followed by 400 zeros)', b'1' + b'0' * 400), + ('a file with the contents 10^5000 ("1" followed by 5000 zeros)', b'1' + b'0' * 5000), + ('a file with the contents "1e309"', b'1e309'), + ('a file with the contents "1e-400"', b'1e-400'), ]