Add 'asSequence' operation support
This commit is contained in:
committed by
Yan Zhulanow
parent
64dec10bd5
commit
bde34b45e7
@@ -25,4 +25,6 @@ class MiscOperationsTest : OperationsTestCase("misc") {
|
||||
fun testWindowedWithPartial() = doTestWithResult()
|
||||
fun testWindowedWithBigStep() = doTestWithResult()
|
||||
fun testWindowedWithStep() = doTestWithResult()
|
||||
|
||||
fun testAsSequence() = doTestWithResult()
|
||||
}
|
||||
@@ -9,8 +9,8 @@ abstract class OperationsTestCase(private val packageName: String) : KotlinTrace
|
||||
override val appName: String = "sequence"
|
||||
override val librarySupport: LibrarySupportProvider = KotlinSequenceSupportProvider()
|
||||
|
||||
fun doTestWithResult() = doTest(false, fullyQualifiedClassName())
|
||||
fun doTestWithoutResult() = doTest(true, fullyQualifiedClassName())
|
||||
protected fun doTestWithResult() = doTest(false, fullyQualifiedClassName())
|
||||
protected fun doTestWithoutResult() = doTest(true, fullyQualifiedClassName())
|
||||
|
||||
private fun fullyQualifiedClassName() = "$packageName.${getTestName(false)}"
|
||||
}
|
||||
Reference in New Issue
Block a user