Nantes Université

Skip to content
Extraits de code Groupes Projets
Valider 8938bc3b rédigé par sunye's avatar sunye
Parcourir les fichiers

Correct bad copy and paste: empress and princesse move like a knight, not a like a camel

parent ec207445
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -23,7 +23,7 @@ export class TestEmpressMoves {
// Check the following moves are possible: moveE4_E1, moveE4_E8
}
@Test("An Empress can move three squares horizontally and one square vertically")
@Test("An Empress can move two squares horizontally and one square vertically")
testCanMoveTwoHorizontalAndOneVertical() {
// TODO
// Check the following moves are possible:
......@@ -33,7 +33,7 @@ export class TestEmpressMoves {
// moveE4_C5
}
@Test("An Empress can move three squares vertically and one square horizontally")
@Test("An Empress can move two squares vertically and one square horizontally")
testCanMoveTwoVerticalAndOneHorizontal() {
// TODO
// moveE4_F2
......
......@@ -21,7 +21,7 @@ export class TestKingMoves {
@Test("A King cannot move more than 1 square")
testCannotMoveMoreThanOneSquare() {
// TODO:
// Check it cannot move to squares C2, C3, C4, C6, D4, and F4
// Check it cannot move to squares C2, C3, C4, C6, E2, E6, G2, G4, and G6
}
......
......@@ -18,12 +18,12 @@ export class TestPrincessMoves {
// moveE4_A8, moveE4_B1, moveE4_H7, moveE4_H1
}
@Test("A Princess can move three squares horizontally and one square vertically")
@Test("A Princess can move two squares horizontally and one square vertically")
testCanMoveTwoHorizontalAndOneVertical() {
// TODO
}
@Test("A Princess can move three squares vertically and one square horizontally")
@Test("A Princess can move two squares vertically and one square horizontally")
testCanMoveTwoVerticalAndOneHorizontal() {
// TODO
}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter