A5 basically works, but buggy
This commit is contained in:
parent
d4f9dd0c5b
commit
fdd01ab0c9
@ -4,11 +4,12 @@
|
||||
while true; do
|
||||
# Capture output of the command
|
||||
output=$(../build/Assignment5 < ../documentation/a5_sample_input_2.txt)
|
||||
# compare against output3.txt
|
||||
# compare against output3.txt, Else print passed
|
||||
if [ "$output" != "$(cat output2.txt)" ]; then
|
||||
echo "Test 2 failed"
|
||||
# show output
|
||||
echo "$output"
|
||||
exit 1
|
||||
fi
|
||||
echo "Test 2 passed"
|
||||
done
|
Loading…
Reference in New Issue
Block a user