|
@ -45,7 +45,7 @@ class FigureFarmerTest |
|
|
|
|
|
|
|
|
"1, 1, 0, 0, 0" // black: a7 -> a8 |
|
|
"1, 1, 0, 0, 0" // black: a7 -> a8 |
|
|
}) |
|
|
}) |
|
|
void farmerInvalidDestinationDown(int color, int srcRow, int srcCol, int dstRow, int dstCol) // statt nach "oben" wird nach "unten" gegangen |
|
|
|
|
|
|
|
|
void farmerInvalidDestination(int color, int srcRow, int srcCol, int dstRow, int dstCol) // statt nach "oben" wird nach "unten" gegangen |
|
|
{ |
|
|
{ |
|
|
int src = Figure.fieldLength * srcRow + srcCol; |
|
|
int src = Figure.fieldLength * srcRow + srcCol; |
|
|
int dst = Figure.fieldLength * dstRow + dstCol; |
|
|
int dst = Figure.fieldLength * dstRow + dstCol; |
|
|