From 8671a04375c56abc59bd0493101eb28d246a83da Mon Sep 17 00:00:00 2001 From: Svetlana Isakova Date: Fri, 18 Oct 2019 20:13:24 +0200 Subject: [PATCH] Fighting with untestable exercises in 'Data Types' --- .../Creating Classes/Exercise 4/src/Task.kt | 2 +- .../Creating Classes/Exercise 4/task.md | 16 +- .../Lists/Exercise 5/task.md | 4 +- .../Data Types/Exercise 2/src/Task.kt | 35 +- .../Data Types/Exercise 2/task-info.yaml | 15 +- .../Data Types/Exercise 2/task.md | 12 +- .../Data Types/Exercise 2/test/Tests.kt | 9 - .../Data Types/Exercise 2/test/output.txt | 4 + .../Data Types/Exercise 3/src/Task.kt | 11 +- .../Data Types/Exercise 3/task-info.yaml | 10 + .../Data Types/Exercise 3/task.md | 23 +- .../Data Types/Exercise 3/test/Tests.kt | 21 +- .../Data Types/Exercise 4/src/Task.kt | 30 +- .../Data Types/Exercise 4/task-info.yaml | 4 +- .../Data Types/Exercise 4/task.md | 18 +- .../Data Types/Exercise 4/test/Tests.kt | 2 +- .../Data Types/Exercise 5/src/Task.kt | 6 + .../Data Types/Exercise 5/task-info.yaml | 8 + .../task-remote-info.yaml | 0 .../Data Types/Exercise 5/task.md | 10 + .../Data Types/Exercise 5/test/Tests.kt | 1 + .../Data Types/lesson-info.yaml | 1 + .../Number Types/Exercise 1/test/Tests.kt | 8 +- util/test/TestAllExamples.java | 362 +++++++++--------- util/test/TestAllExercises.kt | 2 +- 25 files changed, 381 insertions(+), 233 deletions(-) delete mode 100644 Programming Basics/Data Types/Exercise 2/test/Tests.kt create mode 100644 Programming Basics/Data Types/Exercise 2/test/output.txt create mode 100644 Programming Basics/Data Types/Exercise 5/src/Task.kt create mode 100644 Programming Basics/Data Types/Exercise 5/task-info.yaml rename Programming Basics/Data Types/{Exercise 4 => Exercise 5}/task-remote-info.yaml (100%) create mode 100644 Programming Basics/Data Types/Exercise 5/task.md create mode 100644 Programming Basics/Data Types/Exercise 5/test/Tests.kt diff --git a/Introduction to Objects/Creating Classes/Exercise 4/src/Task.kt b/Introduction to Objects/Creating Classes/Exercise 4/src/Task.kt index e952db62..8c9172f9 100644 --- a/Introduction to Objects/Creating Classes/Exercise 4/src/Task.kt +++ b/Introduction to Objects/Creating Classes/Exercise 4/src/Task.kt @@ -1,7 +1,7 @@ package creatingClasses4 fun main() { - val s = "Hello!" + val s: String = "Hello!" println(s.toUpperCase()) println(s.toLowerCase()) } diff --git a/Introduction to Objects/Creating Classes/Exercise 4/task.md b/Introduction to Objects/Creating Classes/Exercise 4/task.md index c6619f42..80010d51 100644 --- a/Introduction to Objects/Creating Classes/Exercise 4/task.md +++ b/Introduction to Objects/Creating Classes/Exercise 4/task.md @@ -1,13 +1,15 @@ ## Mastering the IDE: Quick Documentation -The `Quick Documentation` action produces -information about a symbol, such as a function or a class. -Press &shortcut:QuickJavaDoc; when the caret -is on a class or a function, and IntelliJ Idea will show you the available -documentation for this function or class. +We've already used `Quick Documentation` action +to check the variable type. +The `Quick Documentation` action produces +information about any symbol, it can be used to check information about a +function or a class. Press &shortcut:QuickJavaDoc; +when the caret is on a class or a function usage, and IntelliJ Idea will show +you the available documentation for this function or class. -Call `Quick Documentation` action -for the `String` class and its `toUpperCase()` and `toLowerCase()` functions. +Call `Quick Documentation` action putting the caret +on the `String` type and its `get()` and `length()` member functions. Press &shortcut:EditorEscape; to close the quick documentation pop-up. \ No newline at end of file diff --git a/Introduction to Objects/Lists/Exercise 5/task.md b/Introduction to Objects/Lists/Exercise 5/task.md index 5b35bf39..9ad82145 100644 --- a/Introduction to Objects/Lists/Exercise 5/task.md +++ b/Introduction to Objects/Lists/Exercise 5/task.md @@ -1,4 +1,6 @@ -## Mastering the IDE: Quick Documentation on a Variable +## Mastering the IDE: TODO + +Quick Documentation on a Variable You can press &shortcut:QuickJavaDoc; or run a `Quick Documentation` action diff --git a/Programming Basics/Data Types/Exercise 2/src/Task.kt b/Programming Basics/Data Types/Exercise 2/src/Task.kt index 99c8141a..9ae14279 100644 --- a/Programming Basics/Data Types/Exercise 2/src/Task.kt +++ b/Programming Basics/Data Types/Exercise 2/src/Task.kt @@ -1 +1,34 @@ -package dataTypesExercise2 \ No newline at end of file +package dataTypesExercise2 + +fun main() { + val int: Int = 10 + val double: Double = 1.1 + val boolean: Boolean = false + val string: String = "abc" + val character: Char = 'a' + + // Can be combined: + // String can be combined with every other type: + val si: String = string + int + val sd: String = string + double + val sb: String = string + boolean + val sc: String = string + character + + val d1: Double = int + double + val d2: Double = double + int + val s1: String = character + string + val c1: Char = character + int + + println("The type that can be combined " + + "with every other type using '+':") + println("String") + + // Can't be combined: + // val bb = boolean + boolean + // val ic = int + character + // val ds = double + string + + println("The type that can't be combined " + + "with itself using '+':") + println("Boolean") +} \ No newline at end of file diff --git a/Programming Basics/Data Types/Exercise 2/task-info.yaml b/Programming Basics/Data Types/Exercise 2/task-info.yaml index 7ad1b827..d68f2219 100644 --- a/Programming Basics/Data Types/Exercise 2/task-info.yaml +++ b/Programming Basics/Data Types/Exercise 2/task-info.yaml @@ -2,5 +2,18 @@ type: edu files: - name: src/Task.kt visible: true -- name: test/Tests.kt + placeholders: + - offset: 201 + length: 325 + placeholder_text: TODO() // write some examples + - offset: 624 + length: 6 + placeholder_text: ??? + - offset: 660 + length: 89 + placeholder_text: TODO() // write some examples + - offset: 839 + length: 7 + placeholder_text: ??? +- name: test/output.txt visible: false diff --git a/Programming Basics/Data Types/Exercise 2/task.md b/Programming Basics/Data Types/Exercise 2/task.md index ffd72c66..a2d981f3 100644 --- a/Programming Basics/Data Types/Exercise 2/task.md +++ b/Programming Basics/Data Types/Exercise 2/task.md @@ -1,9 +1,7 @@ ## Data Types (#2) -{{ :UNTESTABLE It's impossible to analyze the local variables by reflection }} - -Remove all the type declarations from `Types.kt` and verify that Kotlin -successfully infers the types. Now define duplicate but typed definitions which -are initialized by the inferred `val`s. Use a trailing underscore for the -duplicate definition, for example `val whole_: Int = whole`. Ensure that all -the typed definitions match the type inference by Kotlin. \ No newline at end of file +Attempt to combine the various `val`s of different types using the `+` +operator. Only combine two at a time, and assign each combination to a `val` +result. See which types combine. Display to the console the name of the type +that can be combined with any other type if it goes first, and the name of the +type that can't be combined with itself using `+`. \ No newline at end of file diff --git a/Programming Basics/Data Types/Exercise 2/test/Tests.kt b/Programming Basics/Data Types/Exercise 2/test/Tests.kt deleted file mode 100644 index 3cc40891..00000000 --- a/Programming Basics/Data Types/Exercise 2/test/Tests.kt +++ /dev/null @@ -1,9 +0,0 @@ -package dataTypesExercise2 - -import org.junit.Test -import util.untestable - -class TestDataTypesExercise2 { - @Test - fun test() = untestable() -} \ No newline at end of file diff --git a/Programming Basics/Data Types/Exercise 2/test/output.txt b/Programming Basics/Data Types/Exercise 2/test/output.txt new file mode 100644 index 00000000..8ba743e6 --- /dev/null +++ b/Programming Basics/Data Types/Exercise 2/test/output.txt @@ -0,0 +1,4 @@ +The type that can be combined with every other type using '+': +String +The type that can't be combined with itself using '+': +Boolean \ No newline at end of file diff --git a/Programming Basics/Data Types/Exercise 3/src/Task.kt b/Programming Basics/Data Types/Exercise 3/src/Task.kt index b2a03063..4552375e 100644 --- a/Programming Basics/Data Types/Exercise 3/src/Task.kt +++ b/Programming Basics/Data Types/Exercise 3/src/Task.kt @@ -1 +1,10 @@ -package dataTypesExercise3 \ No newline at end of file +package dataTypesExercise3 + +// 'a' + 1 +val c1 = 'b' + +// 'a' + 25 +val c2 = 'z' + +// 'E' - 2 +val c3 = 'C' \ No newline at end of file diff --git a/Programming Basics/Data Types/Exercise 3/task-info.yaml b/Programming Basics/Data Types/Exercise 3/task-info.yaml index 7ad1b827..1a3a940d 100644 --- a/Programming Basics/Data Types/Exercise 3/task-info.yaml +++ b/Programming Basics/Data Types/Exercise 3/task-info.yaml @@ -2,5 +2,15 @@ type: edu files: - name: src/Task.kt visible: true + placeholders: + - offset: 48 + length: 3 + placeholder_text: '''?''' + - offset: 74 + length: 3 + placeholder_text: '''?''' + - offset: 99 + length: 3 + placeholder_text: '''?''' - name: test/Tests.kt visible: false diff --git a/Programming Basics/Data Types/Exercise 3/task.md b/Programming Basics/Data Types/Exercise 3/task.md index 17b743d9..11f95672 100644 --- a/Programming Basics/Data Types/Exercise 3/task.md +++ b/Programming Basics/Data Types/Exercise 3/task.md @@ -1,9 +1,20 @@ ## Data Types (#3) -{{ :UNTESTABLE No specific output is expected }} +Guess the results of the following expressions and then check yourself using +Kotlin: -Attempt to combine the various `val`s defined in `Types.kt` using the `+` -operator. Only combine two at a time, and assign each combination to a `val` -result. Perform an exhaustive set of combinations (every identifier with every -other identifier), and see which types combine (if any do). Now add type -annotations to the new `val`s which successfully combine. \ No newline at end of file +```kotlin +val c1 = 'a' + 1 +val c2 = 'a' + 25 +val c3 = 'E' - 2 +``` + +Open the 'hint' below to see the explanation of why it works like that. + +
+ +Characters are stored as numbers corresponding to their +[ASCII codes](https://en.wikipedia.org/wiki/ASCII), so adding an integer to a +character produces a new character corresponding to the new code value. + +
\ No newline at end of file diff --git a/Programming Basics/Data Types/Exercise 3/test/Tests.kt b/Programming Basics/Data Types/Exercise 3/test/Tests.kt index ce7622e2..7b76a97c 100644 --- a/Programming Basics/Data Types/Exercise 3/test/Tests.kt +++ b/Programming Basics/Data Types/Exercise 3/test/Tests.kt @@ -1,9 +1,26 @@ package dataTypesExercise3 +import org.junit.Assert +import org.junit.FixMethodOrder import org.junit.Test +import org.junit.runners.MethodSorters +import util.TIMEOUT import util.untestable +@FixMethodOrder(MethodSorters.NAME_ASCENDING) class TestDataTypesExercise3 { - @Test - fun test() = untestable() + @Test(timeout = TIMEOUT) + fun testA() { + Assert.assertEquals("Wrong result for 'c1'", 'b', c1) + } + + @Test(timeout = TIMEOUT) + fun testB() { + Assert.assertEquals("Wrong result for 'c2'", 'z', c2) + } + + @Test(timeout = TIMEOUT) + fun testC() { + Assert.assertEquals("Wrong result for 'c3'", 'C', c3) + } } \ No newline at end of file diff --git a/Programming Basics/Data Types/Exercise 4/src/Task.kt b/Programming Basics/Data Types/Exercise 4/src/Task.kt index 8ab86bf3..6780967d 100644 --- a/Programming Basics/Data Types/Exercise 4/src/Task.kt +++ b/Programming Basics/Data Types/Exercise 4/src/Task.kt @@ -1,6 +1,28 @@ -package dataTypes4 +package dataTypesExercise4 fun main() { - val s = "Sally" + 5.9 - println(s) -} \ No newline at end of file + val whole = 11 + val fractional = 1.4 + val trueOrFalse = true + val words = "A value" + val character = 'z' + val lines = """Triple quotes let +you have many lines +in your string""" + println(whole) + println(fractional) + println(trueOrFalse) + println(words) + println(character) + println(lines) +} +/* Output: +11 +1.4 +true +A value +z +Triple quotes let +you have many lines +in your string +*/ \ No newline at end of file diff --git a/Programming Basics/Data Types/Exercise 4/task-info.yaml b/Programming Basics/Data Types/Exercise 4/task-info.yaml index 1bcd0e2d..7ad1b827 100644 --- a/Programming Basics/Data Types/Exercise 4/task-info.yaml +++ b/Programming Basics/Data Types/Exercise 4/task-info.yaml @@ -1,8 +1,6 @@ -type: ide +type: edu files: - name: src/Task.kt visible: true - name: test/Tests.kt visible: false -feedback_link: | - https://docs.google.com/forms/d/e/1FAIpQLSdkaliSwYkjiV21bZl0yP-In2g5p17sAQCfaGjyHx_QYMWTiQ/viewform?usp=pp_url&entry.189755027=Programming+Basics+%2F+Data+Types+%2F+Exercise2 diff --git a/Programming Basics/Data Types/Exercise 4/task.md b/Programming Basics/Data Types/Exercise 4/task.md index cd909d94..7ac062d9 100644 --- a/Programming Basics/Data Types/Exercise 4/task.md +++ b/Programming Basics/Data Types/Exercise 4/task.md @@ -1,10 +1,12 @@ -## Mastering the IDE: "Specify Type" Intention +## Mastering the IDE: Checking the inferred variable type -IntelliJ IDEA helps you automatically add type specifications for `val`s and -`var`s. Put the caret right after `s` and press -&shortcut:ShowIntentionActions;. This is -the shortcut for `Show intention actions`. -Choose `Specify type explicitly` in the dropdown menu. +In the accompanying example, all the type declarations from `Types.kt` are +removed. Verify that Kotlin successfully infers the types. -Different intention actions are available in different contexts, depending on -where you put the caret. \ No newline at end of file +You can press &shortcut:QuickJavaDoc; +while having the caret on an identifier to check the type Kotlin infers +for this identifier. + +Press &shortcut:EditorEscape; to close the pop-up. + +Check the types of all the declared variables in the example. \ No newline at end of file diff --git a/Programming Basics/Data Types/Exercise 4/test/Tests.kt b/Programming Basics/Data Types/Exercise 4/test/Tests.kt index c1d65f1a..3eab75e6 100644 --- a/Programming Basics/Data Types/Exercise 4/test/Tests.kt +++ b/Programming Basics/Data Types/Exercise 4/test/Tests.kt @@ -1 +1 @@ -package dataTypes4 \ No newline at end of file +package dataTypesExercise4 \ No newline at end of file diff --git a/Programming Basics/Data Types/Exercise 5/src/Task.kt b/Programming Basics/Data Types/Exercise 5/src/Task.kt new file mode 100644 index 00000000..a8fc50cd --- /dev/null +++ b/Programming Basics/Data Types/Exercise 5/src/Task.kt @@ -0,0 +1,6 @@ +package dataTypesExercise5 + +fun main() { + val s = "Sally" + 5.9 + println(s) +} \ No newline at end of file diff --git a/Programming Basics/Data Types/Exercise 5/task-info.yaml b/Programming Basics/Data Types/Exercise 5/task-info.yaml new file mode 100644 index 00000000..1bcd0e2d --- /dev/null +++ b/Programming Basics/Data Types/Exercise 5/task-info.yaml @@ -0,0 +1,8 @@ +type: ide +files: +- name: src/Task.kt + visible: true +- name: test/Tests.kt + visible: false +feedback_link: | + https://docs.google.com/forms/d/e/1FAIpQLSdkaliSwYkjiV21bZl0yP-In2g5p17sAQCfaGjyHx_QYMWTiQ/viewform?usp=pp_url&entry.189755027=Programming+Basics+%2F+Data+Types+%2F+Exercise2 diff --git a/Programming Basics/Data Types/Exercise 4/task-remote-info.yaml b/Programming Basics/Data Types/Exercise 5/task-remote-info.yaml similarity index 100% rename from Programming Basics/Data Types/Exercise 4/task-remote-info.yaml rename to Programming Basics/Data Types/Exercise 5/task-remote-info.yaml diff --git a/Programming Basics/Data Types/Exercise 5/task.md b/Programming Basics/Data Types/Exercise 5/task.md new file mode 100644 index 00000000..cd909d94 --- /dev/null +++ b/Programming Basics/Data Types/Exercise 5/task.md @@ -0,0 +1,10 @@ +## Mastering the IDE: "Specify Type" Intention + +IntelliJ IDEA helps you automatically add type specifications for `val`s and +`var`s. Put the caret right after `s` and press +&shortcut:ShowIntentionActions;. This is +the shortcut for `Show intention actions`. +Choose `Specify type explicitly` in the dropdown menu. + +Different intention actions are available in different contexts, depending on +where you put the caret. \ No newline at end of file diff --git a/Programming Basics/Data Types/Exercise 5/test/Tests.kt b/Programming Basics/Data Types/Exercise 5/test/Tests.kt new file mode 100644 index 00000000..d441decb --- /dev/null +++ b/Programming Basics/Data Types/Exercise 5/test/Tests.kt @@ -0,0 +1 @@ +package dataTypesExercise5 \ No newline at end of file diff --git a/Programming Basics/Data Types/lesson-info.yaml b/Programming Basics/Data Types/lesson-info.yaml index 19662b24..536bd6af 100644 --- a/Programming Basics/Data Types/lesson-info.yaml +++ b/Programming Basics/Data Types/lesson-info.yaml @@ -4,3 +4,4 @@ content: - Exercise 2 - Exercise 3 - Exercise 4 +- Exercise 5 diff --git a/Programming Basics/Number Types/Exercise 1/test/Tests.kt b/Programming Basics/Number Types/Exercise 1/test/Tests.kt index e86c0aad..86d769b6 100644 --- a/Programming Basics/Number Types/Exercise 1/test/Tests.kt +++ b/Programming Basics/Number Types/Exercise 1/test/Tests.kt @@ -10,21 +10,21 @@ import util.TIMEOUT class TestNumberTypesExercise1 { @Test(timeout = TIMEOUT) fun testA() { - Assert.assertEquals(3, a) + Assert.assertEquals("Wrong result for 'a'", 3, a) } @Test(timeout = TIMEOUT) fun testB() { - Assert.assertEquals(2, b) + Assert.assertEquals("Wrong result for 'b'", 2, b) } @Test(timeout = TIMEOUT) fun testC() { - Assert.assertEquals(11, c) + Assert.assertEquals("Wrong result for 'c'", 11, c) } @Test(timeout = TIMEOUT) fun testD() { - Assert.assertEquals(1.2, d.toDouble(), 0.0001) + Assert.assertEquals("Wrong result for 'd'", 1.2, d.toDouble(), 0.0001) } } \ No newline at end of file diff --git a/util/test/TestAllExamples.java b/util/test/TestAllExamples.java index 1728ab9d..8dbde0e6 100644 --- a/util/test/TestAllExamples.java +++ b/util/test/TestAllExamples.java @@ -2383,346 +2383,356 @@ public class TestAllExamples extends AbstractTestExamples { @Test public void testTask10() { - testExample("../AtomicKotlinCourse/Programming Basics/Data Types/Exercise 4/src/Task.kt", dataTypes4.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Data Types/Exercise 2/src/Task.kt", dataTypesExercise2.TaskKt::main); } @Test public void testTask11() { - testExample("../AtomicKotlinCourse/Programming Basics/Functions/Exercise 1/src/Task.kt", functionsExercise1.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Data Types/Exercise 4/src/Task.kt", dataTypesExercise4.TaskKt::main); } @Test public void testTask12() { - testExample("../AtomicKotlinCourse/Programming Basics/Functions/Exercise 2/src/Task.kt", functionsExercise2.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Data Types/Exercise 5/src/Task.kt", dataTypesExercise5.TaskKt::main); } @Test public void testTask13() { - testExample("../AtomicKotlinCourse/Programming Basics/Functions/Exercise 3/src/Task.kt", functionsExercise3.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Functions/Exercise 1/src/Task.kt", functionsExercise1.TaskKt::main); } @Test public void testTask14() { - testExample("../AtomicKotlinCourse/Programming Basics/Functions/Exercise 4/src/Task.kt", functions4.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Functions/Exercise 2/src/Task.kt", functionsExercise2.TaskKt::main); } @Test public void testTask15() { - testExample("../AtomicKotlinCourse/Programming Basics/if Expressions/Exercise 1/src/Task.kt", ifExpressionsExercise1.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Functions/Exercise 3/src/Task.kt", functionsExercise3.TaskKt::main); } @Test public void testTask16() { - testExample("../AtomicKotlinCourse/Programming Basics/if Expressions/Exercise 2/src/Task.kt", ifExpressionsExercise2.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Functions/Exercise 4/src/Task.kt", functions4.TaskKt::main); } @Test public void testTask17() { - testExample("../AtomicKotlinCourse/Programming Basics/if Expressions/Exercise 3/src/Task.kt", ifExpressionsExercise3.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/if Expressions/Exercise 1/src/Task.kt", ifExpressionsExercise1.TaskKt::main); } @Test public void testTask18() { - testExample("../AtomicKotlinCourse/Programming Basics/if Expressions/Exercise 4/src/Task.kt", ifExpressions4.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/if Expressions/Exercise 2/src/Task.kt", ifExpressionsExercise2.TaskKt::main); } @Test public void testTask19() { - testExample("../AtomicKotlinCourse/Programming Basics/String Templates/Exercise 1/src/Task.kt", stringTemplatesExercise1.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/if Expressions/Exercise 3/src/Task.kt", ifExpressionsExercise3.TaskKt::main); } @Test public void testTask20() { - testExample("../AtomicKotlinCourse/Programming Basics/String Templates/Exercise 2/src/Task.kt", stringTemplatesExercise2.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/if Expressions/Exercise 4/src/Task.kt", ifExpressions4.TaskKt::main); } @Test public void testTask21() { - testExample("../AtomicKotlinCourse/Programming Basics/String Templates/Exercise 3/src/Task.kt", stringTemplatesExercise3.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/String Templates/Exercise 1/src/Task.kt", stringTemplatesExercise1.TaskKt::main); } @Test public void testTask22() { - testExample("../AtomicKotlinCourse/Programming Basics/String Templates/Exercise 4/src/Task.kt", stringTemplates4.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/String Templates/Exercise 2/src/Task.kt", stringTemplatesExercise2.TaskKt::main); } @Test public void testTask23() { - testExample("../AtomicKotlinCourse/Programming Basics/String Templates/Exercise 5/src/Task.kt", stringTemplates5.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/String Templates/Exercise 3/src/Task.kt", stringTemplatesExercise3.TaskKt::main); } @Test public void testTask24() { - testExample("../AtomicKotlinCourse/Programming Basics/Number Types/Exercise 3/src/Task.kt", numberTypesExercise3.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/String Templates/Exercise 4/src/Task.kt", stringTemplates4.TaskKt::main); } @Test public void testTask25() { - testExample("../AtomicKotlinCourse/Programming Basics/Number Types/Exercise 4/src/Task.kt", numberTypesExercise4.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/String Templates/Exercise 5/src/Task.kt", stringTemplates5.TaskKt::main); } @Test public void testTask26() { - testExample("../AtomicKotlinCourse/Programming Basics/Number Types/Exercise 5/src/Task.kt", numberTypes5.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Number Types/Exercise 3/src/Task.kt", numberTypesExercise3.TaskKt::main); } @Test public void testTask27() { - testExample("../AtomicKotlinCourse/Programming Basics/Booleans/Exercise 2/src/Task.kt", booleansExercise2.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Number Types/Exercise 4/src/Task.kt", numberTypesExercise4.TaskKt::main); } @Test public void testTask28() { - testExample("../AtomicKotlinCourse/Programming Basics/Booleans/Exercise 3/src/Task.kt", booleansExercise3.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Number Types/Exercise 5/src/Task.kt", numberTypes5.TaskKt::main); } @Test public void testTask29() { - testExample("../AtomicKotlinCourse/Programming Basics/Booleans/Exercise 4/src/Task.kt", booleans4.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Booleans/Exercise 2/src/Task.kt", booleansExercise2.TaskKt::main); } @Test public void testTask30() { - testExample("../AtomicKotlinCourse/Programming Basics/Repetition with while/Exercise 1/src/Task.kt", repetitionWithWhileExercise1.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Booleans/Exercise 3/src/Task.kt", booleansExercise3.TaskKt::main); } @Test public void testTask31() { - testExample("../AtomicKotlinCourse/Programming Basics/Repetition with while/Exercise 2/src/Task.kt", repetitionWithWhileExercise2.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Booleans/Exercise 4/src/Task.kt", booleans4.TaskKt::main); } @Test public void testTask32() { - testExample("../AtomicKotlinCourse/Programming Basics/Repetition with while/Exercise 3/src/Task.kt", repetitionWithWhileExercise3.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Repetition with while/Exercise 1/src/Task.kt", repetitionWithWhileExercise1.TaskKt::main); } @Test public void testTask33() { - testExample("../AtomicKotlinCourse/Programming Basics/Repetition with while/Exercise 4/src/Task.kt", repetitionwithwhile4.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Repetition with while/Exercise 2/src/Task.kt", repetitionWithWhileExercise2.TaskKt::main); } @Test public void testTask34() { - testExample("../AtomicKotlinCourse/Programming Basics/Repetition with while/Exercise 5/src/Task.kt", repetitionwithwhile5.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Repetition with while/Exercise 3/src/Task.kt", repetitionWithWhileExercise3.TaskKt::main); } @Test public void testTask35() { - testExample("../AtomicKotlinCourse/Programming Basics/Looping & Ranges/Exercise 1/src/Task.kt", loopingAndRangesExercise1.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Repetition with while/Exercise 4/src/Task.kt", repetitionwithwhile4.TaskKt::main); } @Test public void testTask36() { - testExample("../AtomicKotlinCourse/Programming Basics/Looping & Ranges/Exercise 2/src/Task.kt", loopingAndRangesExercise2.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Repetition with while/Exercise 5/src/Task.kt", repetitionwithwhile5.TaskKt::main); } @Test public void testTask37() { - testExample("../AtomicKotlinCourse/Programming Basics/Looping & Ranges/Exercise 3/src/Task.kt", loopingAndRangesExercise3.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Looping & Ranges/Exercise 1/src/Task.kt", loopingAndRangesExercise1.TaskKt::main); } @Test public void testTask38() { - testExample("../AtomicKotlinCourse/Programming Basics/Looping & Ranges/Exercise 4/src/Task.kt", loopingAndRangesExercise4.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Looping & Ranges/Exercise 2/src/Task.kt", loopingAndRangesExercise2.TaskKt::main); } @Test public void testTask39() { - testExample("../AtomicKotlinCourse/Programming Basics/Looping & Ranges/Exercise 5/src/Task.kt", loopingandRanges5.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Looping & Ranges/Exercise 3/src/Task.kt", loopingAndRangesExercise3.TaskKt::main); } @Test public void testTask40() { - testExample("../AtomicKotlinCourse/Programming Basics/The in Keyword/Exercise 1/src/Task.kt", theInKeywordExercise1.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Looping & Ranges/Exercise 4/src/Task.kt", loopingAndRangesExercise4.TaskKt::main); } @Test public void testTask41() { - testExample("../AtomicKotlinCourse/Programming Basics/The in Keyword/Exercise 2/src/Task.kt", theInKeywordExercise2.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Looping & Ranges/Exercise 5/src/Task.kt", loopingandRanges5.TaskKt::main); } @Test public void testTask42() { - testExample("../AtomicKotlinCourse/Programming Basics/The in Keyword/Exercise 3/src/Task.kt", theInKeywordExercise3.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/The in Keyword/Exercise 1/src/Task.kt", theInKeywordExercise1.TaskKt::main); } @Test public void testTask43() { - testExample("../AtomicKotlinCourse/Programming Basics/The in Keyword/Exercise 4/src/Task.kt", theInKeywordExercise4.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/The in Keyword/Exercise 2/src/Task.kt", theInKeywordExercise2.TaskKt::main); } @Test public void testTask44() { - testExample("../AtomicKotlinCourse/Programming Basics/Expressions & Statements/Exercise 1/src/Task.kt", expressionsAndStatementsExercise1.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/The in Keyword/Exercise 3/src/Task.kt", theInKeywordExercise3.TaskKt::main); } @Test public void testTask45() { - testExample("../AtomicKotlinCourse/Programming Basics/Expressions & Statements/Exercise 2/src/Task.kt", expressionsAndStatementsExercise2.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/The in Keyword/Exercise 4/src/Task.kt", theInKeywordExercise4.TaskKt::main); } @Test public void testTask46() { - testExample("../AtomicKotlinCourse/Programming Basics/Expressions & Statements/Exercise 4/src/Task.kt", expressionsAndStatements4.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Expressions & Statements/Exercise 1/src/Task.kt", expressionsAndStatementsExercise1.TaskKt::main); } @Test public void testTask47() { - testExample("../AtomicKotlinCourse/Programming Basics/Summary 1/Exercise 2/src/Task.kt", summaryIExercise2.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Expressions & Statements/Exercise 2/src/Task.kt", expressionsAndStatementsExercise2.TaskKt::main); } @Test public void testTask48() { - testExample("../AtomicKotlinCourse/Programming Basics/Summary 1/Exercise 3/src/Task.kt", summaryIExercise3.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Expressions & Statements/Exercise 4/src/Task.kt", expressionsAndStatements4.TaskKt::main); } @Test public void testTask49() { - testExample("../AtomicKotlinCourse/Programming Basics/Summary 1/Exercise 4/src/Task.kt", summaryIExercise4.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Summary 1/Exercise 2/src/Task.kt", summaryIExercise2.TaskKt::main); } @Test public void testTask50() { - testExample("../AtomicKotlinCourse/Programming Basics/Summary 1/Exercise 6/src/Task.kt", summaryIExercise6.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Summary 1/Exercise 3/src/Task.kt", summaryIExercise3.TaskKt::main); } @Test public void testTask51() { - testExample("../AtomicKotlinCourse/Programming Basics/Summary 1/Exercise 7/src/Task.kt", summaryIExercise7.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Summary 1/Exercise 4/src/Task.kt", summaryIExercise4.TaskKt::main); } @Test public void testTask52() { - testExample("../AtomicKotlinCourse/Programming Basics/Summary 1/Exercise 8/src/Task.kt", summaryIExercise8.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Summary 1/Exercise 6/src/Task.kt", summaryIExercise6.TaskKt::main); } @Test public void testTask53() { - testExample("../AtomicKotlinCourse/Programming Basics/Summary 1/Exercise 9/src/Task.kt", summaryIExercise9.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Summary 1/Exercise 7/src/Task.kt", summaryIExercise7.TaskKt::main); } @Test public void testTask54() { - testExample("../AtomicKotlinCourse/Programming Basics/Summary 1/Exercise 10/src/Task.kt", summaryIExercise10.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Summary 1/Exercise 8/src/Task.kt", summaryIExercise8.TaskKt::main); } @Test public void testTask55() { - testExample("../AtomicKotlinCourse/Programming Basics/Summary 1/Exercise 11/src/Task.kt", summaryIExercise11.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Summary 1/Exercise 9/src/Task.kt", summaryIExercise9.TaskKt::main); } @Test public void testTask56() { - testExample("../AtomicKotlinCourse/Programming Basics/Summary 1/Exercise 12/src/Task.kt", summaryIExercise12.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Summary 1/Exercise 10/src/Task.kt", summaryIExercise10.TaskKt::main); } @Test public void testTask57() { - testExample("../AtomicKotlinCourse/Programming Basics/Summary 1/Exercise 13/src/Task.kt", summaryIExercise13.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Summary 1/Exercise 11/src/Task.kt", summaryIExercise11.TaskKt::main); } @Test public void testTask58() { - testExample("../AtomicKotlinCourse/Introduction to Objects/Objects Everywhere/Exercise 1/src/Task.kt", objectsEverywhereExercise1.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Summary 1/Exercise 12/src/Task.kt", summaryIExercise12.TaskKt::main); } @Test public void testTask59() { - testExample("../AtomicKotlinCourse/Introduction to Objects/Objects Everywhere/Exercise 2/src/Task.kt", objectsEverywhereExercise2.TaskKt::main); + testExample("../AtomicKotlinCourse/Programming Basics/Summary 1/Exercise 13/src/Task.kt", summaryIExercise13.TaskKt::main); } @Test public void testTask60() { - testExample("../AtomicKotlinCourse/Introduction to Objects/Objects Everywhere/Exercise 3/src/Task.kt", objectsEverywhereExercise3.TaskKt::main); + testExample("../AtomicKotlinCourse/Introduction to Objects/Objects Everywhere/Exercise 1/src/Task.kt", objectsEverywhereExercise1.TaskKt::main); } @Test public void testTask61() { - testExample("../AtomicKotlinCourse/Introduction to Objects/Objects Everywhere/Exercise 4/src/Task.kt", objectsEverywhereExercise4.TaskKt::main); + testExample("../AtomicKotlinCourse/Introduction to Objects/Objects Everywhere/Exercise 2/src/Task.kt", objectsEverywhereExercise2.TaskKt::main); } @Test public void testTask62() { - testExample("../AtomicKotlinCourse/Introduction to Objects/Objects Everywhere/Exercise 5/src/Task.kt", objectsEverywhere5.TaskKt::main); + testExample("../AtomicKotlinCourse/Introduction to Objects/Objects Everywhere/Exercise 3/src/Task.kt", objectsEverywhereExercise3.TaskKt::main); } @Test public void testTask63() { - testExample("../AtomicKotlinCourse/Introduction to Objects/Creating Classes/Exercise 2/src/Task.kt", creatingClassesExercise2.TaskKt::main); + testExample("../AtomicKotlinCourse/Introduction to Objects/Objects Everywhere/Exercise 4/src/Task.kt", objectsEverywhereExercise4.TaskKt::main); } @Test public void testTask64() { - testExample("../AtomicKotlinCourse/Introduction to Objects/Creating Classes/Exercise 3/src/Task.kt", creatingClassesExercise3.TaskKt::main); + testExample("../AtomicKotlinCourse/Introduction to Objects/Objects Everywhere/Exercise 5/src/Task.kt", objectsEverywhere5.TaskKt::main); } @Test public void testTask65() { - testExample("../AtomicKotlinCourse/Introduction to Objects/Creating Classes/Exercise 4/src/Task.kt", creatingClasses4.TaskKt::main); + testExample("../AtomicKotlinCourse/Introduction to Objects/Creating Classes/Exercise 2/src/Task.kt", creatingClassesExercise2.TaskKt::main); } @Test public void testTask66() { - testExample("../AtomicKotlinCourse/Introduction to Objects/Creating Classes/Exercise 5/src/Task.kt", creatingClasses5.TaskKt::main); + testExample("../AtomicKotlinCourse/Introduction to Objects/Creating Classes/Exercise 3/src/Task.kt", creatingClassesExercise3.TaskKt::main); } @Test public void testTask67() { - testExample("../AtomicKotlinCourse/Introduction to Objects/Properties/Exercise 1/src/Task.kt", propertiesExercise1.TaskKt::main); + testExample("../AtomicKotlinCourse/Introduction to Objects/Creating Classes/Exercise 4/src/Task.kt", creatingClasses4.TaskKt::main); } @Test public void testTask68() { - testExample("../AtomicKotlinCourse/Introduction to Objects/Properties/Exercise 2/src/Task.kt", propertiesExercise2.TaskKt::main); + testExample("../AtomicKotlinCourse/Introduction to Objects/Creating Classes/Exercise 5/src/Task.kt", creatingClasses5.TaskKt::main); } @Test public void testTask69() { - testExample("../AtomicKotlinCourse/Introduction to Objects/Properties/Exercise 3/src/Task.kt", propertiesExercise3.TaskKt::main); + testExample("../AtomicKotlinCourse/Introduction to Objects/Properties/Exercise 1/src/Task.kt", propertiesExercise1.TaskKt::main); } @Test public void testTask70() { - testExample("../AtomicKotlinCourse/Introduction to Objects/Constructors/Exercise 1/src/Task.kt", constructorsExercise1.TaskKt::main); + testExample("../AtomicKotlinCourse/Introduction to Objects/Properties/Exercise 2/src/Task.kt", propertiesExercise2.TaskKt::main); } @Test public void testTask71() { - testExample("../AtomicKotlinCourse/Introduction to Objects/Constructors/Exercise 2/src/Task.kt", constructorsExercise2.TaskKt::main); + testExample("../AtomicKotlinCourse/Introduction to Objects/Properties/Exercise 3/src/Task.kt", propertiesExercise3.TaskKt::main); } @Test public void testTask72() { - testExample("../AtomicKotlinCourse/Introduction to Objects/Constructors/Exercise 3/src/Task.kt", constructorsExercise3.TaskKt::main); + testExample("../AtomicKotlinCourse/Introduction to Objects/Constructors/Exercise 1/src/Task.kt", constructorsExercise1.TaskKt::main); } @Test public void testTask73() { - testExample("../AtomicKotlinCourse/Introduction to Objects/Constructors/Exercise 4/src/Task.kt", constructors4.TaskKt::main); + testExample("../AtomicKotlinCourse/Introduction to Objects/Constructors/Exercise 2/src/Task.kt", constructorsExercise2.TaskKt::main); } @Test public void testTask74() { - testExample("../AtomicKotlinCourse/Introduction to Objects/Constraining Visibility/Exercise 1/src/Task.kt", constrainingVisibilityExercise1.TaskKt::main); + testExample("../AtomicKotlinCourse/Introduction to Objects/Constructors/Exercise 3/src/Task.kt", constructorsExercise3.TaskKt::main); } @Test public void testTask75() { - testExample("../AtomicKotlinCourse/Introduction to Objects/Constraining Visibility/Exercise 2/src/Task.kt", constrainingVisibilityExercise2.TaskKt::main); + testExample("../AtomicKotlinCourse/Introduction to Objects/Constructors/Exercise 4/src/Task.kt", constructors4.TaskKt::main); } @Test public void testTask76() { - testExample("../AtomicKotlinCourse/Introduction to Objects/Constraining Visibility/Exercise 3/src/Task.kt", constrainingVisibilityExercise3.TaskKt::main); + testExample("../AtomicKotlinCourse/Introduction to Objects/Constraining Visibility/Exercise 1/src/Task.kt", constrainingVisibilityExercise1.TaskKt::main); } @Test public void testTask77() { - testExample("../AtomicKotlinCourse/Introduction to Objects/Constraining Visibility/Exercise 4/src/Task.kt", constrainingVisibility4.TaskKt::main); + testExample("../AtomicKotlinCourse/Introduction to Objects/Constraining Visibility/Exercise 2/src/Task.kt", constrainingVisibilityExercise2.TaskKt::main); } @Test public void testTask78() { + testExample("../AtomicKotlinCourse/Introduction to Objects/Constraining Visibility/Exercise 3/src/Task.kt", constrainingVisibilityExercise3.TaskKt::main); + } + + @Test + public void testTask79() { + testExample("../AtomicKotlinCourse/Introduction to Objects/Constraining Visibility/Exercise 4/src/Task.kt", constrainingVisibility4.TaskKt::main); + } + + @Test + public void testTask80() { testExample("../AtomicKotlinCourse/Introduction to Objects/Constraining Visibility/Exercise 5/src/Task.kt", constrainingVisibility5.TaskKt::main); } @@ -2737,517 +2747,517 @@ public class TestAllExamples extends AbstractTestExamples { } @Test - public void testTask79() { + public void testTask81() { testExample("../AtomicKotlinCourse/Introduction to Objects/Packages/Exercise 4/src/Task.kt", importsandPackages4.TaskKt::main); } @Test - public void testTask80() { + public void testTask82() { testExample("../AtomicKotlinCourse/Introduction to Objects/Testing/Exercise 3/src/Task.kt", testingExercise3.TaskKt::main); } @Test - public void testTask81() { + public void testTask83() { testExample("../AtomicKotlinCourse/Introduction to Objects/Testing/Exercise 4/src/Task.kt", testing4.TaskKt::main); } @Test - public void testTask82() { + public void testTask84() { testExample("../AtomicKotlinCourse/Introduction to Objects/Exceptions/Exercise 1/src/Task.kt", exceptionsExercise1.TaskKt::main); } @Test - public void testTask83() { + public void testTask85() { testExample("../AtomicKotlinCourse/Introduction to Objects/Exceptions/Exercise 2/src/Task.kt", exceptionsExercise2.TaskKt::main); } @Test - public void testTask84() { + public void testTask86() { testExample("../AtomicKotlinCourse/Introduction to Objects/Exceptions/Exercise 3/src/Task.kt", exceptionsExercise3.TaskKt::main); } @Test - public void testTask85() { + public void testTask87() { testExample("../AtomicKotlinCourse/Introduction to Objects/Lists/Exercise 1/src/Task.kt", listsExercise1.TaskKt::main); } @Test - public void testTask86() { + public void testTask88() { testExample("../AtomicKotlinCourse/Introduction to Objects/Lists/Exercise 2/src/Task.kt", listsExercise2.TaskKt::main); } @Test - public void testTask87() { + public void testTask89() { testExample("../AtomicKotlinCourse/Introduction to Objects/Lists/Exercise 4/src/Task.kt", listsExercise4.TaskKt::main); } @Test - public void testTask88() { + public void testTask90() { testExample("../AtomicKotlinCourse/Introduction to Objects/Lists/Exercise 5/src/Task.kt", lists5.TaskKt::main); } @Test - public void testTask89() { + public void testTask91() { testExample("../AtomicKotlinCourse/Introduction to Objects/Variable Argument Lists/Exercise 1/src/Task.kt", variableArgumentListsExercise1.TaskKt::main); } @Test - public void testTask90() { + public void testTask92() { testExample("../AtomicKotlinCourse/Introduction to Objects/Variable Argument Lists/Exercise 3/src/Task.kt", variableArgumentListsExercise3.TaskKt::main); } @Test - public void testTask91() { + public void testTask93() { testExample("../AtomicKotlinCourse/Introduction to Objects/Variable Argument Lists/Exercise 4/src/Task.kt", variableArgumentListsExercise4.TaskKt::main); } @Test - public void testTask92() { + public void testTask94() { testExample("../AtomicKotlinCourse/Introduction to Objects/Variable Argument Lists/Exercise 6/src/Task.kt", varargArguments6.TaskKt::main); } @Test - public void testTask93() { + public void testTask95() { testExample("../AtomicKotlinCourse/Introduction to Objects/Sets/Exercise 1/src/Task.kt", setsExercise1.TaskKt::main); } @Test - public void testTask94() { + public void testTask96() { testExample("../AtomicKotlinCourse/Introduction to Objects/Sets/Exercise 2/src/Task.kt", setsExercise2.TaskKt::main); } @Test - public void testTask95() { + public void testTask97() { testExample("../AtomicKotlinCourse/Introduction to Objects/Sets/Exercise 3/src/Task.kt", setsExercise3.TaskKt::main); } @Test - public void testTask96() { + public void testTask98() { testExample("../AtomicKotlinCourse/Introduction to Objects/Sets/Exercise 4/src/Task.kt", sets4.TaskKt::main); } @Test - public void testTask97() { + public void testTask99() { testExample("../AtomicKotlinCourse/Introduction to Objects/Maps/Exercise 1/src/Task.kt", mapsExercise1.TaskKt::main); } @Test - public void testTask98() { + public void testTask100() { testExample("../AtomicKotlinCourse/Introduction to Objects/Maps/Exercise 2/src/Task.kt", mapsExercise2.TaskKt::main); } @Test - public void testTask99() { + public void testTask101() { testExample("../AtomicKotlinCourse/Introduction to Objects/Maps/Exercise 3/src/Task.kt", mapsExercise3.TaskKt::main); } @Test - public void testTask100() { + public void testTask102() { testExample("../AtomicKotlinCourse/Introduction to Objects/Maps/Exercise 4/src/Task.kt", maps4.TaskKt::main); } @Test - public void testTask101() { + public void testTask103() { testExample("../AtomicKotlinCourse/Introduction to Objects/Property Accessors/Exercise 1/src/Task.kt", propertyAccessorsExercise1.TaskKt::main); } @Test - public void testTask102() { + public void testTask104() { testExample("../AtomicKotlinCourse/Introduction to Objects/Property Accessors/Exercise 3/src/Task.kt", propertyAccessorsExercise3.TaskKt::main); } @Test - public void testTask103() { + public void testTask105() { testExample("../AtomicKotlinCourse/Introduction to Objects/Property Accessors/Exercise 4/src/Task.kt", propertyAccessorsExercise4.TaskKt::main); } @Test - public void testTask104() { + public void testTask106() { testExample("../AtomicKotlinCourse/Introduction to Objects/Property Accessors/Exercise 5/src/Task.kt", propertyAccessors5.TaskKt::main); } @Test - public void testTask105() { + public void testTask107() { testExample("../AtomicKotlinCourse/Introduction to Objects/Summary 2/Exercise 2/src/Task.kt", summaryIIExercise2.TaskKt::main); } @Test - public void testTask106() { + public void testTask108() { testExample("../AtomicKotlinCourse/Introduction to Objects/Summary 2/Exercise 3/src/Task.kt", summaryIIExercise3.TaskKt::main); } @Test - public void testTask107() { + public void testTask109() { testExample("../AtomicKotlinCourse/Introduction to Objects/Summary 2/Exercise 4/src/Task.kt", summaryIIExercise4.TaskKt::main); } @Test - public void testTask108() { + public void testTask110() { testExample("../AtomicKotlinCourse/Introduction to Objects/Summary 2/Exercise 7/src/Task.kt", summaryIIExercise7.TaskKt::main); } @Test - public void testTask109() { + public void testTask111() { testExample("../AtomicKotlinCourse/Introduction to Objects/Summary 2/Exercise 9/src/Task.kt", summaryIIExercise9.TaskKt::main); } @Test - public void testTask110() { + public void testTask112() { testExample("../AtomicKotlinCourse/Introduction to Objects/Summary 2/Exercise 11/src/Task.kt", summaryIIExercise11.TaskKt::main); } @Test - public void testTask111() { + public void testTask113() { testExample("../AtomicKotlinCourse/Introduction to Objects/Summary 2/Exercise 13/src/Task.kt", summaryIIExercise13.TaskKt::main); } @Test - public void testTask112() { + public void testTask114() { testExample("../AtomicKotlinCourse/Introduction to Objects/Summary 2/Exercise 14/src/Task.kt", summaryIIExercise14.TaskKt::main); } @Test - public void testTask113() { + public void testTask115() { testExample("../AtomicKotlinCourse/Usability/break & continue/Exercise 1/src/Task.kt", breakAndContinueExercise1.TaskKt::main); } @Test - public void testTask114() { + public void testTask116() { testExample("../AtomicKotlinCourse/Usability/break & continue/Exercise 2/src/Task.kt", breakAndContinueExercise2.TaskKt::main); } @Test - public void testTask115() { + public void testTask117() { testExample("../AtomicKotlinCourse/Usability/break & continue/Exercise 3/src/Task.kt", breakAndContinueExercise3.TaskKt::main); } @Test - public void testTask116() { + public void testTask118() { testExample("../AtomicKotlinCourse/Usability/Extension Functions/Exercise 1/src/Task.kt", extensionFunctionsExercise1.TaskKt::main); } @Test - public void testTask117() { + public void testTask119() { testExample("../AtomicKotlinCourse/Usability/Extension Functions/Exercise 2/src/Task.kt", extensionFunctionsExercise2.TaskKt::main); } @Test - public void testTask118() { + public void testTask120() { testExample("../AtomicKotlinCourse/Usability/Extension Functions/Exercise 3/src/Task.kt", extensionFunctionsExercise3.TaskKt::main); } @Test - public void testTask119() { + public void testTask121() { testExample("../AtomicKotlinCourse/Usability/Extension Functions/Exercise 4/src/Task.kt", extensionFunctions4.TaskKt::main); } @Test - public void testTask120() { + public void testTask122() { testExample("../AtomicKotlinCourse/Usability/Named & Default Arguments/Exercise 1/src/Task.kt", namedAndDefaultArgumentsExercise1.TaskKt::main); } @Test - public void testTask121() { + public void testTask123() { testExample("../AtomicKotlinCourse/Usability/Named & Default Arguments/Exercise 2/src/Task.kt", namedAndDefaultArgumentsExercise2.TaskKt::main); } @Test - public void testTask122() { + public void testTask124() { testExample("../AtomicKotlinCourse/Usability/Named & Default Arguments/Exercise 3/src/Task.kt", namedAndDefaultArgumentsExercise3.TaskKt::main); } @Test - public void testTask123() { + public void testTask125() { testExample("../AtomicKotlinCourse/Usability/Named & Default Arguments/Exercise 4/src/Task.kt", namedandDefaultArguments4.TaskKt::main); } @Test - public void testTask124() { + public void testTask126() { testExample("../AtomicKotlinCourse/Usability/Overloading/Exercise 1/src/Task.kt", overloadingExercise1.TaskKt::main); } @Test - public void testTask125() { + public void testTask127() { testExample("../AtomicKotlinCourse/Usability/Overloading/Exercise 4/src/Task.kt", overloading4.TaskKt::main); } @Test - public void testTask126() { + public void testTask128() { testExample("../AtomicKotlinCourse/Usability/when Expressions/Exercise 1/src/Task.kt", whenExpressionsExercise1.TaskKt::main); } @Test - public void testTask127() { + public void testTask129() { testExample("../AtomicKotlinCourse/Usability/when Expressions/Exercise 2/src/Task.kt", whenExpressionsExercise2.TaskKt::main); } @Test - public void testTask128() { + public void testTask130() { testExample("../AtomicKotlinCourse/Usability/when Expressions/Exercise 3/src/Task.kt", whenExpressionsExercise3.TaskKt::main); } @Test - public void testTask129() { + public void testTask131() { testExample("../AtomicKotlinCourse/Usability/when Expressions/Exercise 4/src/Task.kt", whenExpressions4.TaskKt::main); } @Test - public void testTask130() { + public void testTask132() { testExample("../AtomicKotlinCourse/Usability/Enumerations/Exercise 1/src/Task.kt", enumerationsExercise1.TaskKt::main); } @Test - public void testTask131() { + public void testTask133() { testExample("../AtomicKotlinCourse/Usability/Enumerations/Exercise 2/src/Task.kt", enumerationsExercise2.TaskKt::main); } @Test - public void testTask132() { + public void testTask134() { testExample("../AtomicKotlinCourse/Usability/Enumerations/Exercise 3/src/Task.kt", enumerationsExercise3.TaskKt::main); } @Test - public void testTask133() { + public void testTask135() { testExample("../AtomicKotlinCourse/Usability/Data Classes/Exercise 2/src/Task.kt", dataClassesExercise2.TaskKt::main); } @Test - public void testTask134() { + public void testTask136() { testExample("../AtomicKotlinCourse/Usability/Nullable Types/Exercise 1/src/Task.kt", nullableTypesExercise1.TaskKt::main); } @Test - public void testTask135() { + public void testTask137() { testExample("../AtomicKotlinCourse/Usability/Nullable Types/Exercise 2/src/Task.kt", nullableTypesExercise2.TaskKt::main); } @Test - public void testTask136() { + public void testTask138() { testExample("../AtomicKotlinCourse/Usability/Safe Calls & the Elvis Operator/Exercise 1/src/Task.kt", safeCallsAndTheElvisOperatorExercise1.TaskKt::main); } @Test - public void testTask137() { + public void testTask139() { testExample("../AtomicKotlinCourse/Usability/Safe Calls & the Elvis Operator/Exercise 2/src/Task.kt", safeCallsAndTheElvisOperatorExercise2.TaskKt::main); } @Test - public void testTask138() { + public void testTask140() { testExample("../AtomicKotlinCourse/Usability/Non-null Assertions/Exercise 1/src/Task.kt", nonNullAssertionsExercise1.TaskKt::main); } @Test - public void testTask139() { + public void testTask141() { testExample("../AtomicKotlinCourse/Usability/Non-null Assertions/Exercise 2/src/Task.kt", nonNullAssertionsExercise2.TaskKt::main); } @Test - public void testTask140() { + public void testTask142() { testExample("../AtomicKotlinCourse/Usability/Extensions for Nullable Types/Exercise 1/src/Task.kt", extensionsForNullableTypesExercise1.TaskKt::main); } @Test - public void testTask141() { + public void testTask143() { testExample("../AtomicKotlinCourse/Usability/Extensions for Nullable Types/Exercise 2/src/Task.kt", extensionsForNullableTypesExercise2.TaskKt::main); } @Test - public void testTask142() { + public void testTask144() { testExample("../AtomicKotlinCourse/Usability/Introduction to Generics/Exercise 1/src/Task.kt", introductionToGenericsExercise1.TaskKt::main); } @Test - public void testTask143() { + public void testTask145() { testExample("../AtomicKotlinCourse/Usability/Introduction to Generics/Exercise 2/src/Task.kt", introductionToGenericsExercise2.TaskKt::main); } @Test - public void testTask144() { + public void testTask146() { testExample("../AtomicKotlinCourse/Usability/Extension Properties/Exercise 1/src/Task.kt", extensionPropertiesExercise1.TaskKt::main); } @Test - public void testTask145() { + public void testTask147() { testExample("../AtomicKotlinCourse/Functional Programming/Lambdas/Exercise 1/src/Task.kt", lambdasExercise1.TaskKt::main); } @Test - public void testTask146() { + public void testTask148() { testExample("../AtomicKotlinCourse/Functional Programming/Lambdas/Exercise 2/src/Task.kt", lambdasExercise2.TaskKt::main); } @Test - public void testTask147() { + public void testTask149() { testExample("../AtomicKotlinCourse/Functional Programming/Lambdas/Exercise 3/src/Task.kt", lambdasExercise3.TaskKt::main); } @Test - public void testTask148() { + public void testTask150() { testExample("../AtomicKotlinCourse/Functional Programming/The Importance of Lambdas/Exercise 1/src/Task.kt", theImportanceOfLambdasExercise1.TaskKt::main); } @Test - public void testTask149() { + public void testTask151() { testExample("../AtomicKotlinCourse/Functional Programming/The Importance of Lambdas/Exercise 2/src/Task.kt", theImportanceOfLambdasExercise2.TaskKt::main); } @Test - public void testTask150() { + public void testTask152() { testExample("../AtomicKotlinCourse/Functional Programming/The Importance of Lambdas/Exercise 3/src/Task.kt", theImportanceOfLambdasExercise3.TaskKt::main); } @Test - public void testTask151() { + public void testTask153() { testExample("../AtomicKotlinCourse/Functional Programming/Operations on Collections/Exercise 1/src/Task.kt", operationsOnCollectionsExercise1.TaskKt::main); } @Test - public void testTask152() { + public void testTask154() { testExample("../AtomicKotlinCourse/Functional Programming/Operations on Collections/Exercise 2/src/Task.kt", operationsOnCollectionsExercise2.TaskKt::main); } @Test - public void testTask153() { + public void testTask155() { testExample("../AtomicKotlinCourse/Functional Programming/Operations on Collections/Exercise 3/src/Task.kt", operationsOnCollectionsExercise3.TaskKt::main); } @Test - public void testTask154() { + public void testTask156() { testExample("../AtomicKotlinCourse/Functional Programming/Operations on Collections/Exercise 4/src/Task.kt", operationsOnCollectionsExercise4.TaskKt::main); } @Test - public void testTask155() { + public void testTask157() { testExample("../AtomicKotlinCourse/Functional Programming/Member References/Exercise 1/src/Task.kt", memberReferencesExercise1.TaskKt::main); } @Test - public void testTask156() { + public void testTask158() { testExample("../AtomicKotlinCourse/Functional Programming/Member References/Exercise 2/src/Task.kt", memberReferencesExercise2.TaskKt::main); } @Test - public void testTask157() { + public void testTask159() { testExample("../AtomicKotlinCourse/Functional Programming/Function Types/Exercise 1/src/Task.kt", functionTypesExercise1.TaskKt::main); } @Test - public void testTask158() { + public void testTask160() { testExample("../AtomicKotlinCourse/Functional Programming/Function Types/Exercise 2/src/Task.kt", functionTypesExercise2.TaskKt::main); } @Test - public void testTask159() { + public void testTask161() { testExample("../AtomicKotlinCourse/Functional Programming/Function Types/Exercise 3/src/Task.kt", functionTypesExercise3.TaskKt::main); } @Test - public void testTask160() { + public void testTask162() { testExample("../AtomicKotlinCourse/Functional Programming/Function Types/Exercise 4/src/Task.kt", functionTypesExercise4.TaskKt::main); } @Test - public void testTask161() { + public void testTask163() { testExample("../AtomicKotlinCourse/Functional Programming/Manipulating Lists/Exercise 1/src/Task.kt", manipulatingListsExercise1.TaskKt::main); } @Test - public void testTask162() { + public void testTask164() { testExample("../AtomicKotlinCourse/Functional Programming/Manipulating Lists/Exercise 2/src/Task.kt", manipulatingListsExercise2.TaskKt::main); } @Test - public void testTask163() { + public void testTask165() { testExample("../AtomicKotlinCourse/Functional Programming/Manipulating Lists/Exercise 3/src/Task.kt", manipulatingListsExercise3.TaskKt::main); } @Test - public void testTask164() { + public void testTask166() { testExample("../AtomicKotlinCourse/Functional Programming/Manipulating Lists/Exercise 4/src/Task.kt", manipulatingListsExercise4.TaskKt::main); } @Test - public void testTask165() { + public void testTask167() { testExample("../AtomicKotlinCourse/Functional Programming/Manipulating Lists/Exercise 5/src/Task.kt", manipulatingListsExercise5.TaskKt::main); } @Test - public void testTask166() { + public void testTask168() { testExample("../AtomicKotlinCourse/Functional Programming/Manipulating Lists/Exercise 6/src/Task.kt", manipulatingListsExercise6.TaskKt::main); } @Test - public void testTask167() { + public void testTask169() { testExample("../AtomicKotlinCourse/Functional Programming/Manipulating Lists/Exercise 7/src/Task.kt", manipulatingListsExercise7.TaskKt::main); } @Test - public void testTask168() { + public void testTask170() { testExample("../AtomicKotlinCourse/Functional Programming/From Lists to Maps/Exercise 1/src/Task.kt", fromListsToMapsExercise1.TaskKt::main); } @Test - public void testTask169() { + public void testTask171() { testExample("../AtomicKotlinCourse/Functional Programming/From Lists to Maps/Exercise 2/src/Task.kt", fromListsToMapsExercise2.TaskKt::main); } @Test - public void testTask170() { + public void testTask172() { testExample("../AtomicKotlinCourse/Functional Programming/From Lists to Maps/Exercise 3/src/Task.kt", fromListsToMapsExercise3.TaskKt::main); } @Test - public void testTask171() { + public void testTask173() { testExample("../AtomicKotlinCourse/Functional Programming/More Library Functions/Exercise 1/src/Task.kt", moreLibraryFunctionsExercise1.TaskKt::main); } @Test - public void testTask172() { + public void testTask174() { testExample("../AtomicKotlinCourse/Functional Programming/More Library Functions/Exercise 2/src/Task.kt", moreLibraryFunctionsExercise2.TaskKt::main); } @Test - public void testTask173() { + public void testTask175() { testExample("../AtomicKotlinCourse/Functional Programming/Functions Inside Functions/Exercise 1/src/Task.kt", functionsInsideFunctionsExercise1.TaskKt::main); } @Test - public void testTask174() { + public void testTask176() { testExample("../AtomicKotlinCourse/Functional Programming/Folding Lists/Exercise 1/src/Task.kt", foldingListsExercise1.TaskKt::main); } @Test - public void testTask175() { + public void testTask177() { testExample("../AtomicKotlinCourse/Functional Programming/Folding Lists/Exercise 2/src/Task.kt", foldingListsExercise2.TaskKt::main); } @Test - public void testTask176() { + public void testTask178() { testExample("../AtomicKotlinCourse/Functional Programming/Folding Lists/Exercise 3/src/Task.kt", foldingListsExercise3.TaskKt::main); } @Test - public void testTask177() { + public void testTask179() { testExample("../AtomicKotlinCourse/Functional Programming/Folding Lists/Exercise 4/src/Task.kt", foldingListsExercise4.TaskKt::main); } @Test - public void testTask178() { + public void testTask180() { testExample("../AtomicKotlinCourse/Functional Programming/Recursion/Exercise 1/src/Task.kt", recursionExercise1.TaskKt::main); } @Test - public void testTask179() { + public void testTask181() { testExample("../AtomicKotlinCourse/Functional Programming/Recursion/Exercise 2/src/Task.kt", recursionExercise2.TaskKt::main); } @Test - public void testTask180() { + public void testTask182() { testExample("../AtomicKotlinCourse/Functional Programming/Recursion/Exercise 3/src/Task.kt", recursionExercise3.TaskKt::main); } @Test - public void testTask181() { + public void testTask183() { testExample("../AtomicKotlinCourse/Functional Programming/Recursion/Exercise 4/src/Task.kt", recursionExercise4.TaskKt::main); } @@ -3282,27 +3292,27 @@ public class TestAllExamples extends AbstractTestExamples { } @Test - public void testTask182() { + public void testTask184() { testExample("../AtomicKotlinCourse/Power Tools/Lambda with Receiver/Exercise 1/src/Task.kt", lambdaWithReceiverExercise1.TaskKt::main); } @Test - public void testTask183() { + public void testTask185() { testExample("../AtomicKotlinCourse/Power Tools/Lambda with Receiver/Exercise 2/src/Task.kt", lambdaWithReceiverExercise2.TaskKt::main); } @Test - public void testTask184() { + public void testTask186() { testExample("../AtomicKotlinCourse/Power Tools/The with() Function/Exercise 1/src/Task.kt", theWithFunctionExercise1.TaskKt::main); } @Test - public void testTask185() { + public void testTask187() { testExample("../AtomicKotlinCourse/Power Tools/The with() Function/Exercise 2/src/Task.kt", theWithFunctionExercise2.TaskKt::main); } @Test - public void testTask186() { + public void testTask188() { testExample("../AtomicKotlinCourse/Power Tools/Hashing/Exercise 1/src/Task.kt", hashingExercise1.TaskKt::main); } } \ No newline at end of file diff --git a/util/test/TestAllExercises.kt b/util/test/TestAllExercises.kt index 8916f042..e0910a5d 100644 --- a/util/test/TestAllExercises.kt +++ b/util/test/TestAllExercises.kt @@ -24,7 +24,7 @@ class TestAllExercises : AbstractTestExercises() { fun testDataTypesExercise1() = testClass(dataTypesExercise1.TestDataTypesExercise1::class) @Test - fun testDataTypesExercise2() = testClass(dataTypesExercise2.TestDataTypesExercise2::class) + fun testDataTypesExercise2() = testOutput("../AtomicKotlinCourse/Programming Basics/Data Types/Exercise 2/test/output.txt"){ dataTypesExercise2.main() } @Test fun testDataTypesExercise3() = testClass(dataTypesExercise3.TestDataTypesExercise3::class)