Added assertions to most tests

This commit is contained in:
Eduard Urbach 2024-07-28 18:47:13 +02:00
parent 8d629dda72
commit 8a4e623c9c
Signed by: eduard
GPG key ID: 49226B848C78F6C8
15 changed files with 86 additions and 266 deletions

View file

@ -1,6 +1,7 @@
main() {
x := 1000
syscall(60, div10(x) / 10 + div(x, 100) * 4 - 40 - x + x)
result := div10(x) / 10 + div(x, 100) * 4 - 40 - x + x
assert result == 10
}
div(x, y) {