Added more unit tests.
This commit is contained in:
parent
8026138b9c
commit
6eab3a531a
9 changed files with 60 additions and 7 deletions
14
unit-tests/integer-allocation.sh
Normal file
14
unit-tests/integer-allocation.sh
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
value=354
|
||||
expected="Integer cell: value ${value}"
|
||||
echo ${value} | target/psse 2>&1 | grep "${expected}" > /dev/null
|
||||
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
echo "OK"
|
||||
exit 0
|
||||
else
|
||||
echo "Expected '${expected}', not found"
|
||||
exit 1
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue