|
@ -74,6 +74,6 @@ class FigureTest |
|
|
void whiteRookInvalidMoveRightDown() // diagonal nach rechts unten |
|
|
void whiteRookInvalidMoveRightDown() // diagonal nach rechts unten |
|
|
{ |
|
|
{ |
|
|
Figure f = new Figure(); |
|
|
Figure f = new Figure(); |
|
|
assertFalse(f.moveAllowed(36, 45, new int[8 * 8])); |
|
|
|
|
|
|
|
|
assertFalse(f.moveAllowed(Figure.fieldLength * 4 + 4, Figure.fieldLength * 5 + 5, new int[Figure.fieldLength * Figure.fieldLength])); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |