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