Added more tests
This commit is contained in:
parent
be6eafddf5
commit
c1427eb7f6
@ -13,6 +13,11 @@ main() {
|
|||||||
|
|
||||||
assert total == 0
|
assert total == 0
|
||||||
|
|
||||||
|
for i := total..10 {
|
||||||
|
assert i >= 0
|
||||||
|
assert i < 10
|
||||||
|
}
|
||||||
|
|
||||||
for i := 0..10 {
|
for i := 0..10 {
|
||||||
assert i >= 0
|
assert i >= 0
|
||||||
assert i < 10
|
assert i < 10
|
||||||
@ -24,5 +29,5 @@ main() {
|
|||||||
total += 1
|
total += 1
|
||||||
}
|
}
|
||||||
|
|
||||||
assert total == ten
|
assert total == 10
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user