Added more tests
This commit is contained in:
parent
be6eafddf5
commit
c1427eb7f6
1 changed files with 6 additions and 1 deletions
|
@ -13,6 +13,11 @@ main() {
|
|||
|
||||
assert total == 0
|
||||
|
||||
for i := total..10 {
|
||||
assert i >= 0
|
||||
assert i < 10
|
||||
}
|
||||
|
||||
for i := 0..10 {
|
||||
assert i >= 0
|
||||
assert i < 10
|
||||
|
@ -24,5 +29,5 @@ main() {
|
|||
total += 1
|
||||
}
|
||||
|
||||
assert total == ten
|
||||
assert total == 10
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue