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