Added more tests

This commit is contained in:
Eduard Urbach 2025-02-22 13:58:07 +01:00
parent a75aad52f6
commit 49214c9a6e
Signed by: eduard
GPG key ID: 49226B848C78F6C8
8 changed files with 74 additions and 41 deletions

View file

@ -0,0 +1,17 @@
main() {
f(10)
}
f(x int) {
y := x
x = x - 2
assert x < y
x = x + 2
assert x == y
x = x * 2
assert x > y
x = x / 2
assert x == y
x = x % 2
assert x < 2
}