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,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
}