12345678910111213141516 |
- Describe(basic_tests)
- {
- It(test1){Assert::That(canMove("Pawn", "A5", "A6"), Equals(true));}
- It(test2){Assert::That(canMove("Pawn", "G2", "G4"), Equals(true));}
- It(test3){Assert::That(canMove("Pawn", "C6", "D7"), Equals(false));}
- It(test4){Assert::That(canMove("Knight", "F5", "E3"), Equals(true));}
- It(test5){Assert::That(canMove("Knight", "F6", "E5"), Equals(false));}
- It(test6){Assert::That(canMove("Bishop", "B4", "E7"), Equals(true));}
- It(test7){Assert::That(canMove("Bishop", "B6", "F5"), Equals(false));}
- It(test8){Assert::That(canMove("Rook", "A8", "H8"), Equals(true));}
- It(test9){Assert::That(canMove("Rook", "A8", "H7"), Equals(false));}
- It(test10){Assert::That(canMove("Queen", "A8", "H1"), Equals(true));}
- It(test11){Assert::That(canMove("Queen", "A6", "H4"), Equals(false));}
- It(test12){Assert::That(canMove("King", "C4", "D5"), Equals(true));}
- It(test13){Assert::That(canMove("King", "B7", "B5"), Equals(false));}
- };
|