diff --git a/src/test/ts/camel-move-validation.spec.ts b/src/test/ts/camel-move-validation.spec.ts index e0769d3930227f516814cde1e9028d25d1ea9dbc..321927d10fc3666771c7863e538f11615a2f9570 100644 --- a/src/test/ts/camel-move-validation.spec.ts +++ b/src/test/ts/camel-move-validation.spec.ts @@ -59,25 +59,18 @@ const moveE4_E8 : Move = move(positionE4, positionE8); export class TestCamelMoves { @Setup beforeEach() { - // TODO: - // Initialize an empty chessboard - // Place a white Camel on E4 + chessboard = createEmptyChessboard(); putPiece(chessboard,positionE4,pieces.whiteCamel) } @Test("A Camel can move three squares horizontally and one square vertically") testCanMoveThreeHorizontalAndOneVertical() { - // TODO: - // Check the following moves are possible: - // - moveE4_H3 - Expect(isPossible.camelMove(chessboard, moveE4_H3)).toBeTruthy(); - // - moveE4_H5 + + Expect(isPossible.camelMove(chessboard, moveE4_H3)).toBeTruthy(); Expect(isPossible.camelMove(chessboard, moveE4_H5)).toBeTruthy(); - // - moveE4_B3 Expect(isPossible.camelMove(chessboard, moveE4_B3)).toBeTruthy(); - // - moveE4_B5 - Expect(isPossible.camelMove(chessboard, moveE4_B5)).toBeTruthy(); + Expect(isPossible.camelMove(chessboard, moveE4_B5)).toBeTruthy(); } @Test("A Camel can move three squares vertically and one square horizontally")