Improved division split
This commit is contained in:
9
tests/programs/modulo.q
Normal file
9
tests/programs/modulo.q
Normal file
@ -0,0 +1,9 @@
|
||||
main() {
|
||||
assert 0 % 1 == 0
|
||||
assert 1 % 1 == 0
|
||||
assert 2 % 1 == 0
|
||||
assert 0 % 2 == 0
|
||||
assert 1 % 2 == 1
|
||||
assert 2 % 2 == 0
|
||||
assert 3 % 2 == 1
|
||||
}
|
Reference in New Issue
Block a user