Scan functions for Sequences and Iterable #KT-7657
This commit is contained in:
@@ -139,6 +139,17 @@ class IndexOverflowJVMTest {
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
fun scanIndexedOverflow() {
|
||||
assertIndexOverflow { maxIndexSequence.scanIndexed("") { index, _, s -> checkIndexPositive(index); s }.forEach { } }
|
||||
}
|
||||
|
||||
@Test
|
||||
fun scanReduceIndexedOverflow() {
|
||||
assertIndexOverflow { maxIndexSequence.scanReduceIndexed { index, _, s -> checkIndexPositive(index); s }.forEach { } }
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
fun dropTwiceMaxValue() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user