Add unit tests for multiline and inner outer loops

This commit is contained in:
Jonathan Turner 2009-09-21 17:30:55 +00:00
parent 03746e7606
commit 9528e44b88
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,10 @@
var total = 0
for (var i = 0; i < 10; ++i) {
for (var j = 0; j < 10; ++j) {
total += 1
}
}
print(total)

View File

@ -0,0 +1 @@
100