|
|
@ -68,6 +68,15 @@ class GameTest |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
void newGameInitializationFigurePositionsRooks() |
|
|
|
{ |
|
|
|
// schwarzer Turm a8 |
|
|
|
assertEquals(new FigureRook().getClass(), |
|
|
|
g.mField[Figure.fieldLength * 0 + 0].getClass()); |
|
|
|
} |
|
|
|
|
|
|
|
@Test |
|
|
|
void moveFarmerWhite() // weißer Bauer ganz links um ein Feld noch vorne bewegen |
|
|
|
{ |
|
|
|