From 70a2b877a6eadae2528c1301daf9b80016257c8f Mon Sep 17 00:00:00 2001 From: Noobie99 Date: Sun, 11 Jun 2023 15:57:59 +0200 Subject: add stress test script --- other/stress.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 other/stress.sh (limited to 'other/stress.sh') diff --git a/other/stress.sh b/other/stress.sh new file mode 100644 index 0000000..4856b1a --- /dev/null +++ b/other/stress.sh @@ -0,0 +1,7 @@ +for i in {1..1000}; do + printf "\r$i" + python3 gen.py > input # generate test with gen.py + ./a.out < input > out # execute ./a.out + ./a2.out < input > out2 # execute ./a2.out + diff out out2 || break +done -- cgit v1.2.3