Ejemplo n.º 1
0
 public bool TestwhoseTurn(string p)
 {
     return(ChessTavern.whoseTurn(p));
 }
Ejemplo n.º 2
0
 public int[] TestchessBishopDream(int[] boardSize, int[] initPosition, int[] initDirection, int k)
 {
     return(ChessTavern.chessBishopDream(boardSize, initPosition, initDirection, k));
 }
Ejemplo n.º 3
0
 public int TestchessTriangle(int n, int m)
 {
     return(ChessTavern.chessTriangle(n, m));
 }
Ejemplo n.º 4
0
 public int[] TestamazonCheckmate(string king, string amazon)
 {
     return(ChessTavern.amazonCheckmate(king, amazon));
 }
Ejemplo n.º 5
0
 public string TestpawnRace(string white, string black, char toMove)
 {
     return(ChessTavern.pawnRace(white, black, toMove));
 }
Ejemplo n.º 6
0
 public void TestbishopDiagonal(ComplexTest <string[], string[]> test)
 {
     Assert.AreEqual(test.ExpectedResult, ChessTavern.bishopDiagonal(test.Input[0], test.Input[1]));
 }