diff options
Diffstat (limited to 'semestr-4/aisd/pracownia3/ocen.sh')
-rwxr-xr-x | semestr-4/aisd/pracownia3/ocen.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/semestr-4/aisd/pracownia3/ocen.sh b/semestr-4/aisd/pracownia3/ocen.sh new file mode 100755 index 0000000..593aa67 --- /dev/null +++ b/semestr-4/aisd/pracownia3/ocen.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +make rozw +make check +for i in {0..1023} +do + python3 gen.py $i > t.in + ./rozw < t.in > wa.out + ./check < t.in > t.out + if diff -w wa.out t.out + then + echo $i + echo ok + else + echo nieok + break + fi +done
\ No newline at end of file |