Added more tests

This commit is contained in:
2025-02-22 13:58:07 +01:00
parent c088697446
commit df782ae1cb
8 changed files with 74 additions and 41 deletions

View File

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