Minor: update test data

This commit is contained in:
Vitaliy.Bibaev
2017-12-22 19:22:48 +03:00
committed by Yan Zhulanow
parent 914a631322
commit e9d8398573
7 changed files with 14 additions and 14 deletions
@@ -1,7 +1,7 @@
LineBreakpoint created at FilterIsInstance.kt:6 LineBreakpoint created at FilterIsInstance.kt:5
Run Java Run Java
Connected to the target VM Connected to the target VM
FilterIsInstance.kt:6 FilterIsInstance.kt:5
Exception caught: junit.framework.AssertionFailedError: Type inference failed: Not enough information to infer parameter R in inline fun <reified R> Sequence<*>.filterIsInstance(): Sequence<R> Exception caught: junit.framework.AssertionFailedError: Type inference failed: Not enough information to infer parameter R in inline fun <reified R> Sequence<*>.filterIsInstance(): Sequence<R>
Please specify it explicitly. Please specify it explicitly.
, Type inference failed: Not enough information to infer parameter R in inline fun <reified R> Sequence<*>.filterIsInstance(): Sequence<R> , Type inference failed: Not enough information to infer parameter R in inline fun <reified R> Sequence<*>.filterIsInstance(): Sequence<R>
@@ -1,7 +1,7 @@
LineBreakpoint created at FilterNot.kt:6 LineBreakpoint created at FilterNot.kt:5
Run Java Run Java
Connected to the target VM Connected to the target VM
FilterNot.kt:6 FilterNot.kt:5
booleanArrayOf(true, false, false).asSequence() booleanArrayOf(true, false, false).asSequence()
.filterNot({ it }) .filterNot({ it })
.lastIndexOf(true) .lastIndexOf(true)
+2 -2
View File
@@ -1,7 +1,7 @@
LineBreakpoint created at Map.kt:6 LineBreakpoint created at Map.kt:5
Run Java Run Java
Connected to the target VM Connected to the target VM
Map.kt:6 Map.kt:5
doubleArrayOf(1.0, 2.0).asSequence() doubleArrayOf(1.0, 2.0).asSequence()
.map({ it * it }) .map({ it * it })
.contains(3.0) .contains(3.0)
@@ -1,7 +1,7 @@
LineBreakpoint created at Minus.kt:6 LineBreakpoint created at Minus.kt:5
Run Java Run Java
Connected to the target VM Connected to the target VM
Minus.kt:6 Minus.kt:5
byteArrayOf(1, 2, 3, 2).asSequence() byteArrayOf(1, 2, 3, 2).asSequence()
.minus(arrayOf(2.toByte())) .minus(arrayOf(2.toByte()))
.count() .count()
@@ -1,7 +1,7 @@
LineBreakpoint created at SortedBy.kt:6 LineBreakpoint created at SortedBy.kt:5
Run Java Run Java
Connected to the target VM Connected to the target VM
SortedBy.kt:6 SortedBy.kt:5
arrayOf(Person("Bob", 42), Person("Alice", 27)).asSequence() arrayOf(Person("Bob", 42), Person("Alice", 27)).asSequence()
.sortedBy({ it.age }) .sortedBy({ it.age })
.count() .count()
@@ -1,7 +1,7 @@
LineBreakpoint created at TakeWhile.kt:6 LineBreakpoint created at TakeWhile.kt:5
Run Java Run Java
Connected to the target VM Connected to the target VM
TakeWhile.kt:6 TakeWhile.kt:5
doubleArrayOf(1.0, 3.0, 5.0).asSequence() doubleArrayOf(1.0, 3.0, 5.0).asSequence()
.takeWhile({ it < 2 }) .takeWhile({ it < 2 })
.forEach({}) .forEach({})
@@ -1,7 +1,7 @@
LineBreakpoint created at WithIndex.kt:6 LineBreakpoint created at WithIndex.kt:5
Run Java Run Java
Connected to the target VM Connected to the target VM
WithIndex.kt:6 WithIndex.kt:5
intArrayOf(1, 2, 3).asSequence() intArrayOf(1, 2, 3).asSequence()
.withIndex() .withIndex()
.forEach({}) .forEach({})