Improved division split
This commit is contained in:
parent
bb74c0cf50
commit
c2c147f1b4
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