Improved division split
This commit is contained in:
parent
4ded8260b3
commit
8d629dda72
11 changed files with 84 additions and 64 deletions
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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue