|
@ -90,7 +90,9 @@ class MatchfieldCreationTest { |
|
|
|
|
|
|
|
|
static Stream<Arguments> getCoordinateBelow() { |
|
|
static Stream<Arguments> getCoordinateBelow() { |
|
|
Matchfield matchfield = new Matchfield(10); |
|
|
Matchfield matchfield = new Matchfield(10); |
|
|
return Stream.of(Arguments.of("bewlow from (5/5) - should be (4,5)", matchfield, new Coordinate(5, 5), |
|
|
|
|
|
matchfield.getField(4, 5))); |
|
|
|
|
|
|
|
|
return Stream.of( |
|
|
|
|
|
Arguments.of("bewlow from (5/5) - should be (4,5)", matchfield, new Coordinate(5, 5), |
|
|
|
|
|
matchfield.getField(4, 5)), |
|
|
|
|
|
Arguments.of("bewlow from (0/5) - should be null", matchfield, new Coordinate(0, 5), null)); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |