Added more tests
This commit is contained in:
parent
6fef3bccf6
commit
485efe5727
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