Tests for Timer.sleep().

This commit is contained in:
Bob Nystrom
2015-08-08 07:17:30 -07:00
parent d4acbe8a70
commit 9845ed5126
10 changed files with 95 additions and 5 deletions
+9
View File
@@ -0,0 +1,9 @@
import "timer" for Timer
IO.print("1") // expect: 1
Timer.sleep(3)
IO.print("2") // expect: 2
Timer.sleep(3)
IO.print("3") // expect: 3
Timer.sleep(3)
IO.print("4") // expect: 4