public void We_Can_Simulate_King_Chess_Piece_Correctly() { var sut = new ChessPieceService(); var response = sut.SimulateChessPiece(new KingChessPiece()); Assert.AreEqual(124908, response.Count); }
public void We_Can_Simulate_Bishop_Chess_Piece_Correctly() { var sut = new ChessPieceService(); var response = sut.SimulateChessPiece(new BishopChessPiece()); Assert.AreEqual(2341, response.Count); }
public void We_Can_Simulate_Pawn_Chess_Piece_Correctly() { var sut = new ChessPieceService(); var response = sut.SimulateChessPiece(new PawnChessPiece()); Assert.AreEqual(0, response.Count); }
public void We_Can_Get_Information(string fullNo, int oneth, int twoth, int threeth, int fourth, int fifth, int sixth, int seventh) { var sut = new ChessPieceService(); var test = SetupTestSpiderWeb(oneth, twoth, threeth, fourth, fifth, sixth, seventh); var response = sut.RecursionForGettingPhoneNumber(test, new System.Collections.Generic.List <string>()); Assert.AreEqual(fullNo, response.FindAll(x => x.Length >= 7)[0]); }