Example #1
0
 public void Returns_7_Horizontal_Moves_With_Board_Size_8()
 {
     Assert.AreEqual <int>(7, MovesFrom11.Where(bc => bc.Y == 1).Count());
 }
Example #2
0
 public void Returns_No_Moves_That_Contain_A_Zero()
 {
     Assert.AreEqual <int>(0, MovesFrom11.Where(bc => bc.X == 0 || bc.Y == 0).Count());
 }
Example #3
0
 public void Returns_7_Vertical_Moves_With_Board_Size_8()
 {
     Assert.AreEqual <int>(7, MovesFrom11.Where(bc => bc.X == 1).ToList().Count());
 }