Refactor debugger tests

1. Move tests to their own module
2. Avoid sharing the 'tinyApp' project between tests
3. Clean up option directive handling
This commit is contained in:
Yan Zhulanow
2019-06-26 22:41:56 +09:00
parent d8d81c51d7
commit 472ec72eb9
288 changed files with 4861 additions and 3910 deletions
@@ -3,4 +3,6 @@ package streams.sequence.sort
fun main(args: Array<String>) {
//Breakpoint!
arrayOf(Person("Bob", 42), Person("Alice", 27)).asSequence().sortedByDescending { it.age }.count()
}
}
data class Person(val name: String, val age: Int)
@@ -4,4 +4,6 @@ fun main(args: Array<String>) {
//Breakpoint!
arrayOf(Person("Bob", 42), Person("Alice", 27)).asSequence()
.sortedWith(compareBy { it.name }).count()
}
}
data class Person(val name: String, val age: Int)