Added file names for exercises
This commit is contained in:
parent
f8ab433faa
commit
395c9bc6b6
|
@ -1,3 +1,4 @@
|
|||
// BuildingMaps/Task1.kt
|
||||
package buildingMapsExercise1
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 170
|
||||
- offset: 195
|
||||
length: 92
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// BuildingMaps/Task2.kt
|
||||
package buildingMapsExercise2
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 173
|
||||
- offset: 198
|
||||
length: 120
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// BuildingMaps/Task3.kt
|
||||
package buildingMapsExercise3
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 122
|
||||
- offset: 147
|
||||
length: 50
|
||||
placeholder_text: TODO("groupBy(???).???")
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// FoldingLists/Task1.kt
|
||||
package foldingListsExercise1
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 85
|
||||
- offset: 110
|
||||
length: 41
|
||||
placeholder_text: TODO("fold(0) { ??? }")
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// FoldingLists/Task2.kt
|
||||
package foldingListsExercise2
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 111
|
||||
- offset: 136
|
||||
length: 80
|
||||
placeholder_text: TODO("fold(???) { ??? }")
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// FoldingLists/Task3.kt
|
||||
package foldingListsExercise3
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 113
|
||||
- offset: 138
|
||||
length: 79
|
||||
placeholder_text: TODO("fold(???) { ??? }")
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// FoldingLists/Task4.kt
|
||||
package foldingListsExercise4
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 251
|
||||
- offset: 276
|
||||
length: 18
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// HigherOrderFunctions/Task1.kt
|
||||
package higherOrderFunctionsExercise1
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 152
|
||||
- offset: 185
|
||||
length: 48
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// HigherOrderFunctions/Task2.kt
|
||||
package higherOrderFunctionsExercise2
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 212
|
||||
- offset: 245
|
||||
length: 34
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// HigherOrderFunctions/Task3.kt
|
||||
package higherOrderFunctionsExercise3
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 186
|
||||
- offset: 219
|
||||
length: 149
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// HigherOrderFunctions/Task4.kt
|
||||
package higherOrderFunctionsExercise4
|
||||
|
||||
fun <A, B, C> ((A) -> B).andThen(action: (B) -> C): (A) -> C =
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 114
|
||||
- offset: 147
|
||||
length: 15
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Lambdas/Task1.kt
|
||||
package lambdasExercise1
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 115
|
||||
- offset: 135
|
||||
length: 9
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Lambdas/Task2.kt
|
||||
package lambdasExercise2
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 192
|
||||
- offset: 212
|
||||
length: 38
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Lambdas/Task3.kt
|
||||
package lambdasExercise3
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 178
|
||||
- offset: 198
|
||||
length: 73
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// LocalFunctions/Task1.kt
|
||||
package localFunctionsExercise1
|
||||
|
||||
fun f(): Int {
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 50
|
||||
- offset: 77
|
||||
length: 63
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// LocalFunctions/Task2.kt
|
||||
package localFunctionsExercise2
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 108
|
||||
- offset: 135
|
||||
length: 124
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// LocalFunctions/Task3.kt
|
||||
package localFunctionsExercise3
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 116
|
||||
- offset: 143
|
||||
length: 194
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// ManipulatingLists/Task1.kt
|
||||
package manipulatingListsExercise1
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 113
|
||||
- offset: 143
|
||||
length: 12
|
||||
placeholder_text: TODO("zip(???)")
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// ManipulatingLists/Task2.kt
|
||||
package manipulatingListsExercise2
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 113
|
||||
- offset: 143
|
||||
length: 41
|
||||
placeholder_text: TODO("mapIndexed { ??? }")
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// ManipulatingLists/Task3.kt
|
||||
package manipulatingListsExercise3
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 225
|
||||
- offset: 255
|
||||
length: 141
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// ManipulatingLists/Task4.kt
|
||||
package manipulatingListsExercise4
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 282
|
||||
- offset: 312
|
||||
length: 84
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// ManipulatingLists/Task5.kt
|
||||
package manipulatingListsExercise5
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 117
|
||||
- offset: 147
|
||||
length: 16
|
||||
placeholder_text: TODO("???.flatten()")
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// ManipulatingLists/Task6.kt
|
||||
package manipulatingListsExercise6
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 113
|
||||
- offset: 143
|
||||
length: 2
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// ManipulatingLists/Task7.kt
|
||||
package manipulatingListsExercise7
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 123
|
||||
- offset: 153
|
||||
length: 38
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// MemberReferences/Task2.kt
|
||||
package memberReferencesExercise2
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 309
|
||||
- offset: 338
|
||||
length: 95
|
||||
placeholder_text: TODO("compareByDescending(???).then(compareBy(???)))")
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// MemberReferences/Task3.kt
|
||||
package memberReferencesExercise3
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,22 +3,22 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 241
|
||||
- offset: 270
|
||||
length: 45
|
||||
placeholder_text: TODO()
|
||||
- offset: 321
|
||||
- offset: 350
|
||||
length: 57
|
||||
placeholder_text: TODO()
|
||||
- offset: 419
|
||||
- offset: 448
|
||||
length: 62
|
||||
placeholder_text: TODO()
|
||||
- offset: 546
|
||||
- offset: 575
|
||||
length: 11
|
||||
placeholder_text: TODO()
|
||||
- offset: 606
|
||||
- offset: 635
|
||||
length: 12
|
||||
placeholder_text: TODO()
|
||||
- offset: 769
|
||||
- offset: 798
|
||||
length: 11
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// OperationsOnCollections/Task1.kt
|
||||
package operationsOnCollectionsExercise1
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 189
|
||||
- offset: 225
|
||||
length: 88
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// OperationsOnCollections/Task2.kt
|
||||
package operationsOnCollectionsExercise2
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 94
|
||||
- offset: 130
|
||||
length: 89
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// OperationsOnCollections/Task3.kt
|
||||
package operationsOnCollectionsExercise3
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 99
|
||||
- offset: 135
|
||||
length: 33
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// OperationsOnCollections/Task4.kt
|
||||
package operationsOnCollectionsExercise4
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,28 +3,28 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 138
|
||||
- offset: 174
|
||||
length: 1
|
||||
placeholder_text: ' /*?*/'
|
||||
- offset: 146
|
||||
- offset: 182
|
||||
length: 7
|
||||
placeholder_text: TODO()
|
||||
- offset: 185
|
||||
- offset: 221
|
||||
length: 2
|
||||
placeholder_text: ' /*?*/'
|
||||
- offset: 193
|
||||
- offset: 229
|
||||
length: 7
|
||||
placeholder_text: TODO()
|
||||
- offset: 273
|
||||
- offset: 309
|
||||
length: 2
|
||||
placeholder_text: ' /*?*/'
|
||||
- offset: 282
|
||||
length: 7
|
||||
placeholder_text: TODO()
|
||||
- offset: 318
|
||||
length: 7
|
||||
placeholder_text: TODO()
|
||||
- offset: 354
|
||||
length: 1
|
||||
placeholder_text: ' /*?*/'
|
||||
- offset: 325
|
||||
- offset: 361
|
||||
length: 7
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Recursion/Task1.kt
|
||||
package recursionExercise1
|
||||
|
||||
tailrec fun simulation(group: String, level: Int) {
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 28
|
||||
- offset: 50
|
||||
length: 147
|
||||
placeholder_text: tailrec fun simulation() { TODO() }
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Recursion/Task2.kt
|
||||
package recursionExercise2
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 83
|
||||
- offset: 105
|
||||
length: 167
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Recursion/Task3.kt
|
||||
package recursionExercise3
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 357
|
||||
- offset: 379
|
||||
length: 130
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Recursion/Task4.kt
|
||||
package recursionExercise4
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,10 +3,10 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 606
|
||||
- offset: 628
|
||||
length: 131
|
||||
placeholder_text: TODO()
|
||||
- offset: 1325
|
||||
- offset: 1347
|
||||
length: 204
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Sequences/Task1.kt
|
||||
package sequencesExercise1
|
||||
|
||||
fun School.commonLessons(
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 123
|
||||
- offset: 145
|
||||
length: 85
|
||||
placeholder_text: TODO()
|
||||
- name: src/School.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Sequences/School1.kt
|
||||
package sequencesExercise2
|
||||
|
||||
fun School.studentInstructors(
|
||||
|
|
|
@ -3,10 +3,10 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 101
|
||||
- offset: 125
|
||||
length: 94
|
||||
placeholder_text: TODO()
|
||||
- offset: 267
|
||||
- offset: 291
|
||||
length: 114
|
||||
placeholder_text: TODO()
|
||||
- name: src/School.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Sequences/Task2.kt
|
||||
package sequencesExercise3
|
||||
|
||||
fun School.averageInstructorRating(instructor: Instructor): Double =
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 99
|
||||
- offset: 121
|
||||
length: 113
|
||||
placeholder_text: TODO()
|
||||
- name: src/School.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Sequences/School2.kt
|
||||
package sequencesExercise4
|
||||
|
||||
fun School.favouriteInstructor(student: Student): Instructor? =
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 94
|
||||
- offset: 118
|
||||
length: 137
|
||||
placeholder_text: TODO()
|
||||
- name: src/School.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Sequences/Task3.kt
|
||||
package sequencesExercise5
|
||||
|
||||
fun School.instructorsWithLargestClass(): Set<Instructor> {
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 90
|
||||
- offset: 112
|
||||
length: 175
|
||||
placeholder_text: TODO()
|
||||
- name: src/School.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Sequences/School3.kt
|
||||
package sequencesExercise6
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 84
|
||||
- offset: 108
|
||||
length: 30
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Sequences/Task4.kt
|
||||
package sequencesExercise7
|
||||
|
||||
fun oddWithout1(): Sequence<Int> {
|
||||
|
|
|
@ -3,10 +3,10 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 65
|
||||
- offset: 87
|
||||
length: 75
|
||||
placeholder_text: TODO()
|
||||
- offset: 159
|
||||
- offset: 181
|
||||
length: 37
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Sequences/School4.kt
|
||||
package sequencesExercise8
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 133
|
||||
- offset: 157
|
||||
length: 76
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// ImportanceOfLambdas/Task1.kt
|
||||
package theImportanceOfLambdasExercise1
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 163
|
||||
- offset: 195
|
||||
length: 45
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// ImportanceOfLambdas/Task2.kt
|
||||
package theImportanceOfLambdasExercise2
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 123
|
||||
- offset: 155
|
||||
length: 41
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// ImportanceOfLambdas/Task3.kt
|
||||
package theImportanceOfLambdasExercise3
|
||||
|
||||
import atomictest.eq
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 96
|
||||
- offset: 128
|
||||
length: 46
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Visibility/Task1.kt
|
||||
package constrainingVisibilityExercise1
|
||||
|
||||
class Alien(val name: String, val species: String, private var planet: String) {
|
||||
|
|
|
@ -3,10 +3,10 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 41
|
||||
- offset: 64
|
||||
length: 232
|
||||
placeholder_text: // TODO
|
||||
- offset: 290
|
||||
- offset: 313
|
||||
length: 253
|
||||
placeholder_text: // TODO
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Visibility/Task2.kt
|
||||
package constrainingVisibilityExercise2
|
||||
|
||||
class Robot(
|
||||
|
|
|
@ -3,16 +3,16 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 56
|
||||
- offset: 79
|
||||
length: 11
|
||||
placeholder_text: val
|
||||
- offset: 86
|
||||
- offset: 109
|
||||
length: 11
|
||||
placeholder_text: var
|
||||
- offset: 108
|
||||
- offset: 131
|
||||
length: 11
|
||||
placeholder_text: var
|
||||
- offset: 133
|
||||
- offset: 156
|
||||
length: 11
|
||||
placeholder_text: fun
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Visibility/Task3.kt
|
||||
package constrainingVisibilityExercise3
|
||||
|
||||
class Robot(
|
||||
|
|
|
@ -3,25 +3,25 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 324
|
||||
- offset: 347
|
||||
length: 172
|
||||
placeholder_text: ""
|
||||
- offset: 528
|
||||
- offset: 551
|
||||
length: 69
|
||||
placeholder_text: |-
|
||||
x += steps
|
||||
x = crossBoundary(x)
|
||||
- offset: 632
|
||||
- offset: 655
|
||||
length: 69
|
||||
placeholder_text: |-
|
||||
x -= steps
|
||||
x = crossBoundary(x)
|
||||
- offset: 736
|
||||
- offset: 759
|
||||
length: 69
|
||||
placeholder_text: |-
|
||||
y += steps
|
||||
y = crossBoundary(y)
|
||||
- offset: 838
|
||||
- offset: 861
|
||||
length: 69
|
||||
placeholder_text: |-
|
||||
y -= steps
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Constructors/Task1.kt
|
||||
package constructorsExercise1
|
||||
|
||||
class Floating(val d: Double) {
|
||||
|
|
|
@ -3,10 +3,10 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 31
|
||||
- offset: 56
|
||||
length: 82
|
||||
placeholder_text: // TODO
|
||||
- offset: 130
|
||||
- offset: 155
|
||||
length: 48
|
||||
placeholder_text: TODO()
|
||||
- name: test/Tests.kt
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
// Constructors/Task2.kt
|
||||
package constructorsExercise2
|
||||
|
||||
class Robot(val fieldSize: Int, var x: Int, var y: Int) {
|
||||
|
|
|
@ -3,7 +3,7 @@ files:
|
|||
- name: src/Task.kt
|
||||
visible: true
|
||||
placeholders:
|
||||
- offset: 42
|
||||
- offset: 67
|
||||
length: 46
|
||||
placeholder_text: |2-
|
||||
{
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue