All unit tests passing! This is slightly a fix because there is a bug with

the character read after reading a number not being correctly pushed back
onto the input stream, but...
This commit is contained in:
Simon Brooke 2017-01-07 12:24:54 +00:00
parent 6eab3a531a
commit 2d9f4b0439
10 changed files with 85 additions and 34 deletions

View file

@ -0,0 +1,13 @@
#!/bin/bash
expected='(1 2 3 ("Fred") NIL 77354)'
actual=`echo '(1 2 3 ("Fred") () 77354 )' | target/psse 2> /dev/null`
if [ "${expected}" = "${actual}" ]
then
echo "OK"
exit 0
else
echo "Fail: expected '${expected}', got '${actual}'"
exit 1
fi