Skip to content

Commit

Permalink
adds new test to repository
Browse files Browse the repository at this point in the history
  • Loading branch information
ederc committed Jul 26, 2024
1 parent 8c73502 commit 24f86dc
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
4 changes: 4 additions & 0 deletions input_files/f4sat-zero-input.ms
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
x, y
1073741831
2*x+3*y,
0
Empty file.
18 changes: 18 additions & 0 deletions test/diff/diff_f4sat-zero-input.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash

file=f4sat-zero-input

$(pwd)/msolve -f input_files/$file.ms -S -g2 -o test/diff/$file.res \
-n2
# should return an error 1 status
if [ $? -gt 1 ]; then
exit 1
fi

diff test/diff/$file.res output_files/$file.res
# should return an error 1 status
if [ $? -gt 1 ]; then
exit 2
fi

rm test/diff/$file.res

0 comments on commit 24f86dc

Please sign in to comment.