33 lines
302 B
Plaintext
33 lines
302 B
Plaintext
main() {
|
|
total := 0
|
|
|
|
for 0..10 {
|
|
total += 1
|
|
}
|
|
|
|
assert total == 10
|
|
|
|
for 0..total {
|
|
total -= 1
|
|
}
|
|
|
|
assert total == 0
|
|
|
|
for i := total..10 {
|
|
assert i >= 0
|
|
assert i < 10
|
|
}
|
|
|
|
for i := 0..10 {
|
|
assert i >= 0
|
|
assert i < 10
|
|
}
|
|
|
|
ten := 10
|
|
|
|
for 0..ten {
|
|
total += 1
|
|
}
|
|
|
|
assert total == 10
|
|
} |