Added more tests

This commit is contained in:
2025-03-14 00:08:58 +01:00
parent ac14ab4f7a
commit 06f3af256b
6 changed files with 42 additions and 0 deletions

9
tests/programs/sub.q Normal file
View File

@ -0,0 +1,9 @@
main() {
assert 0 - 0 == 0
assert 1 - 1 == 0
assert 1 - 2 == -1
assert 2 - 1 == 1
assert 2 - 2 == 0
assert 4 - 2 == 2
assert 8 - 2 == 6
}