@ -23,7 +23,10 @@ class FigureBishopTest
{
Figure f = new FigureBishop();
assertFalse(f.moveAllowed(45, 46,
new Figure[64]));
int src = Figure.fieldLength * 5 + 5;
int dst = src + 1;
assertFalse(f.moveAllowed(src, dst,
new Figure[Figure.fieldLength * Figure.fieldLength]));
}