Added more tests
This commit is contained in:
parent
b7d76ff3e3
commit
e367b664bb
6 changed files with 42 additions and 0 deletions
9
tests/programs/mul.q
Normal file
9
tests/programs/mul.q
Normal file
|
@ -0,0 +1,9 @@
|
|||
main() {
|
||||
assert 0 * 0 == 0
|
||||
assert 1 * 1 == 1
|
||||
assert 1 * 2 == 2
|
||||
assert 2 * 1 == 2
|
||||
assert 2 * 2 == 4
|
||||
assert 4 * 2 == 8
|
||||
assert 8 * 2 == 16
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue