|
@ -67,6 +67,6 @@ class FigureTest |
|
|
void whiteRookInvalidMoveLeftDown() // diagonal nach links unten |
|
|
void whiteRookInvalidMoveLeftDown() // diagonal nach links unten |
|
|
{ |
|
|
{ |
|
|
Figure f = new Figure(); |
|
|
Figure f = new Figure(); |
|
|
assertFalse(f.moveAllowed(36, 43, new int[8 * 8])); |
|
|
|
|
|
|
|
|
assertFalse(f.moveAllowed(Figure.fieldLength * 4 + 4, Figure.fieldLength * 5 + 3, new int[Figure.fieldLength * Figure.fieldLength])); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |