@ -33,4 +33,11 @@ class FigureTest
Figure f = new Figure();
assertFalse(f.moveAllowed(48,48, new int[Figure.fieldSize]));
}
@Test
void checkMoveWithValidDestination()
{
assertTrue(f.moveAllowed(48,40, new int[Figure.fieldSize]));