Minor fix to avoid "invalid yaml" error from the Edu plugin
This commit is contained in:
parent
e90af56d61
commit
1ec72cc977
|
@ -3,12 +3,12 @@ package operationsOnCollectionsExercise4
|
|||
import atomictest.eq
|
||||
|
||||
fun List<Int>.allNonZero() = all { it != 0 }
|
||||
fun List<Int>.allNonZero1() = none { it == 0 }
|
||||
fun List<Int>.allNonZero1() = none { it == 0 }
|
||||
fun List<Int>.allNonZero2() = !any { it == 0 }
|
||||
|
||||
fun List<Int>.hasZero() = !all { it != 0 }
|
||||
fun List<Int>.hasZero1() = !none { it == 0 }
|
||||
fun List<Int>.hasZero2() = any { it == 0 }
|
||||
fun List<Int>.hasZero2() = any { it == 0 }
|
||||
|
||||
fun main() {
|
||||
val list1 = listOf(1, 2, 3)
|
||||
|
|
|
@ -4,27 +4,27 @@ files:
|
|||
visible: true
|
||||
placeholders:
|
||||
- offset: 139
|
||||
length: 0
|
||||
placeholder_text: /*?*/
|
||||
- offset: 146
|
||||
length: 7
|
||||
placeholder_text: TODO()
|
||||
- offset: 186
|
||||
length: 1
|
||||
placeholder_text: /*?*/
|
||||
- offset: 193
|
||||
- offset: 147
|
||||
length: 7
|
||||
placeholder_text: TODO()
|
||||
- offset: 274
|
||||
- offset: 187
|
||||
length: 1
|
||||
placeholder_text: /*?*/
|
||||
- offset: 282
|
||||
- offset: 194
|
||||
length: 7
|
||||
placeholder_text: TODO()
|
||||
- offset: 319
|
||||
length: 0
|
||||
- offset: 275
|
||||
length: 1
|
||||
placeholder_text: /*?*/
|
||||
- offset: 325
|
||||
- offset: 283
|
||||
length: 7
|
||||
placeholder_text: TODO()
|
||||
- offset: 320
|
||||
length: 1
|
||||
placeholder_text: /*?*/
|
||||
- offset: 327
|
||||
length: 7
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
Loading…
Reference in New Issue