Commit 74744c54 authored by Théo Winterhalter's avatar Théo Winterhalter
Browse files

horizontally → vertically

parent 5e390757
...@@ -14,19 +14,19 @@ export class TestEmpressMoves { ...@@ -14,19 +14,19 @@ export class TestEmpressMoves {
@Test("An Empress can move horizontally") @Test("An Empress can move horizontally")
testCanMoveHorizontally() { testCanMoveHorizontally() {
// TODO: // TODO:
// Check the following moves are possible: moveE4_H4, moveE4_A4 // Check the following moves are possible: moveE4_H4, moveE4_A4
} }
@Test("A Empress can move vertically") @Test("A Empress can move vertically")
testCanMoveVertically() { testCanMoveVertically() {
// TODO: // TODO:
// Check the following moves are possible: moveE4_E1, moveE4_E8 // Check the following moves are possible: moveE4_E1, moveE4_E8
} }
@Test("An Empress can move two squares horizontally and one square vertically") @Test("An Empress can move two squares horizontally and one square vertically")
testCanMoveTwoHorizontalAndOneVertical() { testCanMoveTwoHorizontalAndOneVertical() {
// TODO // TODO
// Check the following moves are possible: // Check the following moves are possible:
// moveE4_G3 // moveE4_G3
// moveE4_G5 // moveE4_G5
// moveE4_C3 // moveE4_C3
...@@ -39,14 +39,14 @@ export class TestEmpressMoves { ...@@ -39,14 +39,14 @@ export class TestEmpressMoves {
// moveE4_F2 // moveE4_F2
// moveE4_F6 // moveE4_F6
// moveE4_D2 // moveE4_D2
// moveE4_D6 // moveE4_D6
} }
@Test("A Empress cannot move diagonally") @Test("A Empress cannot move diagonally")
testCannotMoveDiagonally() { testCannotMoveDiagonally() {
// TODO: // TODO:
// Check the following moves are impossible: // Check the following moves are impossible:
// moveE4_A8, moveE4_B1, moveE4_H7, moveE4_H1 // moveE4_A8, moveE4_B1, moveE4_H7, moveE4_H1
} }
...@@ -54,27 +54,27 @@ export class TestEmpressMoves { ...@@ -54,27 +54,27 @@ export class TestEmpressMoves {
testCanCaptureDifferentColor() { testCanCaptureDifferentColor() {
// TODO: // TODO:
// Place a black Pawn on H4 // Place a black Pawn on H4
// Check the move moveE4_H4 is possible // Check the move moveE4_H4 is possible
} }
@Test("A Empress cannot capture a piece from the same color") @Test("A Empress cannot capture a piece from the same color")
testCannotCaptureSameColor() { testCannotCaptureSameColor() {
// TODO: // TODO:
// Place a white Pawn on H4 // Place a white Pawn on H4
// Check the move moveE4_H4 is impossible // Check the move moveE4_H4 is impossible
} }
@Test("A Empress cannot leap other pieces, when moving horizontally") @Test("A Empress cannot leap other pieces, when moving horizontally")
testCannotLeapHorizontally() { testCannotLeapHorizontally() {
// TODO: // TODO:
// Place a black Pawn on F4 // Place a black Pawn on F4
// Check the move moveE4_H4 is impossible // Check the move moveE4_H4 is impossible
} }
@Test("A Empress cannot leap other pieces, when moving horizontally") @Test("A Empress cannot leap other pieces, when moving vertically")
testCannotLeapvertically() { testCannotLeapvertically() {
// TODO: // TODO:
// Place a black Pawn on E3 // Place a black Pawn on E3
// Check the move moveE4_E1 is impossible // Check the move moveE4_E1 is impossible
} }
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment