Fix #2. Finish implementing Range.

Covers error and edge cases and fully tested now.
This commit is contained in:
Bob Nystrom
2014-01-20 13:20:22 -08:00
parent 97bf314f4b
commit 46c1ba9249
14 changed files with 148 additions and 38 deletions
+7
View File
@@ -0,0 +1,7 @@
IO.print(1..3) // expect: 1..3
IO.print(12345.6789..12345.6789) // expect: 12345.6789..12345.6789
IO.print(-100..-300) // expect: -100..-300
IO.print(1...3) // expect: 1...3
IO.print(12345.6789...12345.6789) // expect: 12345.6789...12345.6789
IO.print(-100...-300) // expect: -100...-300