diff --git a/src/main/java/de/tims/tictactoe/GameLogic.java b/src/main/java/de/tims/tictactoe/GameLogic.java new file mode 100644 index 0000000..5980f54 --- /dev/null +++ b/src/main/java/de/tims/tictactoe/GameLogic.java @@ -0,0 +1,5 @@ +package de.tims.tictactoe; + +public class GameLogic { + +} diff --git a/src/test/java/de/tims/tictactoe/GameLogicTest.java b/src/test/java/de/tims/tictactoe/GameLogicTest.java new file mode 100644 index 0000000..a33d7bb --- /dev/null +++ b/src/test/java/de/tims/tictactoe/GameLogicTest.java @@ -0,0 +1,29 @@ +package de.tims.tictactoe; + +import static org.junit.jupiter.api.Assertions.*; + +import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +class GameLogicTest { + + private GameLogic game = new GameLogic(); + + @BeforeAll + static void setUpBeforeClass() throws Exception { + } + + @BeforeEach + void setUp() throws Exception { + } + + @Test + void createGameLogicTest() { + GameLogic expectedResult = game; + GameLogic realResult = new GameLogic(); + + assertEquals(expectedResult.getClass(), realResult.getClass()); + } + +}