Added more tests
This commit is contained in:
9
tests/programs/div.q
Normal file
9
tests/programs/div.q
Normal file
@ -0,0 +1,9 @@
|
||||
main() {
|
||||
assert 0 / 1 == 0
|
||||
assert 1 / 1 == 1
|
||||
assert 1 / 2 == 0
|
||||
assert 2 / 1 == 2
|
||||
assert 2 / 2 == 1
|
||||
assert 4 / 2 == 2
|
||||
assert 8 / 2 == 4
|
||||
}
|
Reference in New Issue
Block a user