Files
wren/test/range/to_string.wren
Bob Nystrom 46c1ba9249 Fix #2. Finish implementing Range.
Covers error and edge cases and fully tested now.
2014-01-20 13:20:22 -08:00

8 lines
289 B
Plaintext

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