Browse Source

4gewinnt: fixed typo in getBoardSize test name

4gewinnt
Malte Schellhardt 3 years ago
committed by Lorenz Hohmann
parent
commit
2af74bef6b
  1. 4
      src/test/java/de/tims/viergewinnt/ai/LogicTest.java

4
src/test/java/de/tims/viergewinnt/ai/LogicTest.java

@ -169,9 +169,9 @@ class LogicTest {
assertEquals(expectedResult.getClass(), realResult.getClass()); assertEquals(expectedResult.getClass(), realResult.getClass());
} }
@ParameterizedTest(name = "[{index}] size {0}")
@ParameterizedTest(name = "[{index}] {0}")
@MethodSource("boardSizeParameters") @MethodSource("boardSizeParameters")
void getBoardSize(String testName, int size) {
void getBoardSizeTest(String testName, int size) {
int expectedResult = size; int expectedResult = size;
int realResult = new Logic(size).getBoardSize(); int realResult = new Logic(size).getBoardSize();

Loading…
Cancel
Save