Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f741523

Browse files
Kyu 8 | Basic Variable Assignament
1 parent 401a0ba commit f741523

File tree

4 files changed

+19
-0
lines changed

4 files changed

+19
-0
lines changed

‎src/main/java/kyu8/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ Kata Found realized
3636

3737
- [Basic subclasses - Adam and Eve](basicSubclassesAdamAndEve)
3838

39+
- [Basic variable assignment](basicVariableAssignment)
40+
3941
- [Find Nearest square number](findNearestSquareNumber)
4042

4143

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package kyu8.basicVariableAssignment;
2+
3+
public class Kata {
4+
public static String name = "codewa.rs";
5+
}

‎src/main/java/kyu8/basicVariableAssignment/README.md

Whitespace-only changes.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package kyu8.basicVariableAssignment;
2+
3+
import org.junit.jupiter.api.Test;
4+
5+
import static org.junit.jupiter.api.Assertions.assertEquals;
6+
7+
public class testKata {
8+
@Test
9+
public void correctValue() {
10+
assertEquals("codewa.rs", Kata.name);
11+
}
12+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /