|
@ -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(); |
|
|
|
|
|
|
|
|