mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Expanded array tests, read more
Getting the array's length is still not available yet, so I'm not marking arrays as done - but everything that is there is tested. I've also tweaked the assert output callbacks to also print 'assert failure'.
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
|
||||
|
||||
//moment of truth
|
||||
//standard example
|
||||
var counter: int = 1;
|
||||
|
||||
while (counter <= 100) {
|
||||
@@ -15,11 +13,11 @@ while (counter <= 100) {
|
||||
}
|
||||
|
||||
//finally
|
||||
if (result == "") {
|
||||
print counter;
|
||||
if (result != "") {
|
||||
print result;
|
||||
}
|
||||
else {
|
||||
print result;
|
||||
print counter;
|
||||
}
|
||||
|
||||
counter += 1;
|
||||
|
||||
Reference in New Issue
Block a user