From d6e7fae474dc97e46990a45b48ac4f69a35072eb Mon Sep 17 00:00:00 2001 From: Franciszek Malinka Date: Fri, 26 Mar 2021 18:04:17 +0100 Subject: aktualizacja --- Semestr 4/aisd/pracownia3/ocen.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 Semestr 4/aisd/pracownia3/ocen.sh (limited to 'Semestr 4/aisd/pracownia3/ocen.sh') 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 -- cgit v1.2.3