Improved division split

This commit is contained in:
Eduard Urbach 2024-07-28 18:12:42 +02:00
parent 4ded8260b3
commit 8d629dda72
Signed by: eduard
GPG key ID: 49226B848C78F6C8
11 changed files with 84 additions and 64 deletions

9
tests/programs/modulo.q Normal file
View 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
}