Move debugger test data to the new location

This commit is contained in:
Yan Zhulanow
2019-09-27 00:13:53 +09:00
parent b4cc5703de
commit d8d81c51d7
1423 changed files with 0 additions and 0 deletions
@@ -0,0 +1,6 @@
package streams.collection.map
fun main(args: Array<String>) {
// Breakpoint!
listOf(1, 2).map { it * it }
}
@@ -0,0 +1,8 @@
package streams.collection.map
fun main(args: Array<String>) {
val dst = mutableListOf(1, 2, 3)
// Breakpoint!
listOf(4, 5, 6).mapTo(dst, { it * it }).filter { it % 4 != 0 }.mapTo(dst, { it * it })
println(dst)
}
@@ -0,0 +1,17 @@
LineBreakpoint created at Map.kt:5
Run Java
Connected to the target VM
Map.kt:5
listOf(1, 2)
.map({ it * it })
map
before: 2
after: nothing
mappings for map
direct:
2 -> nothing
reverse:
empty
Disconnected from the target VM
Process finished with exit code 0
@@ -0,0 +1,18 @@
LineBreakpoint created at MapToSameCollection.kt:6
Run Java
Connected to the target VM
MapToSameCollection.kt:6
listOf(4, 5, 6)
.mapTo(dst, { it * it })
mapTo
before: 3
after: nothing
mappings for mapTo
direct:
3 -> nothing
reverse:
empty
Disconnected from the target VM
Process finished with exit code 0
[1, 2, 3, 16, 25, 36, 16, 25, 36, 1, 4, 9, 625, 625]