From 8938bc3b3be560abc33d13106d3abf08ecd5c3b8 Mon Sep 17 00:00:00 2001 From: sunye <gerson.sunye@gmail.com> Date: Mon, 23 Mar 2020 09:05:25 +0100 Subject: [PATCH] Correct bad copy and paste: empress and princesse move like a knight, not a like a camel --- src/test/ts/empress-move-validation.spec.ts | 4 ++-- src/test/ts/king-move-validation.spec.ts | 2 +- src/test/ts/princess-move-validation.spec.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/test/ts/empress-move-validation.spec.ts b/src/test/ts/empress-move-validation.spec.ts index 7434632..b5371dc 100644 --- a/src/test/ts/empress-move-validation.spec.ts +++ b/src/test/ts/empress-move-validation.spec.ts @@ -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 diff --git a/src/test/ts/king-move-validation.spec.ts b/src/test/ts/king-move-validation.spec.ts index 168f9b6..247de03 100644 --- a/src/test/ts/king-move-validation.spec.ts +++ b/src/test/ts/king-move-validation.spec.ts @@ -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 } diff --git a/src/test/ts/princess-move-validation.spec.ts b/src/test/ts/princess-move-validation.spec.ts index bc32170..e105a6f 100644 --- a/src/test/ts/princess-move-validation.spec.ts +++ b/src/test/ts/princess-move-validation.spec.ts @@ -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 } -- GitLab