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,18 @@
main() {
f(10)
}
f(x int) {
y := x
num := 2
x -= num
assert x < y
x += num
assert x == y
x *= num
assert x > y
x /= num
assert x == y
x %= num
assert x < num
}