Update range iteration tests and regenerate test data.

This commit is contained in:
Ilya Gorbunov
2015-10-29 22:25:40 +03:00
parent 8a6821d53a
commit 25da037868
60 changed files with 318 additions and 338 deletions
+4 -2
View File
@@ -67,7 +67,8 @@ public class RangeTest {
assertTrue(9.toByte() in openRange)
assertFalse(10.toByte() in openRange)
assertTrue(assertFails { 0.toByte() until Byte.MIN_VALUE } is IllegalArgumentException)
// byte arguments now construct IntRange so no overflow here
// assertTrue(assertFails { 0.toByte() until Byte.MIN_VALUE } is IllegalArgumentException)
}
@@ -100,7 +101,8 @@ public class RangeTest {
assertTrue(9.toShort() in openRange)
assertFalse(10.toShort() in openRange)
assertTrue(assertFails { 0.toShort() until Short.MIN_VALUE } is IllegalArgumentException)
// short arguments now construct IntRange so no overflow here
// assertTrue(assertFails { 0.toShort() until Short.MIN_VALUE } is IllegalArgumentException)
}
@test fun longRange() {