diff --git a/src/main/java/de/tims/fleetstorm/matchfield/MatchfieldCreation.java b/src/main/java/de/tims/fleetstorm/matchfield/MatchfieldCreation.java new file mode 100644 index 0000000..f735fd9 --- /dev/null +++ b/src/main/java/de/tims/fleetstorm/matchfield/MatchfieldCreation.java @@ -0,0 +1,9 @@ +package de.tims.fleetstorm.matchfield; + +public class MatchfieldCreation { + + public int[][] createMatchfield() { + return new int[][] {}; + } + +} diff --git a/src/test/java/de/tims/fleetstorm/matchfield/MatchfieldCreationTest.java b/src/test/java/de/tims/fleetstorm/matchfield/MatchfieldCreationTest.java new file mode 100644 index 0000000..65e47fa --- /dev/null +++ b/src/test/java/de/tims/fleetstorm/matchfield/MatchfieldCreationTest.java @@ -0,0 +1,16 @@ +package de.tims.fleetstorm.matchfield; + +import static org.junit.Assert.assertNotNull; + +import org.junit.jupiter.api.Test; + +class MatchfieldCreationTest { + + MatchfieldCreation matchfield = new MatchfieldCreation(); + + @Test + void testMatchfieldCreateNotEmpty() { + int[][] calcResult = matchfield.createMatchfield(); + assertNotNull(calcResult); + } +}