Beispiel #1
0
 public void Returns_2_4__As_One_Result_When_Passed_2_2_When_Piece_Has_Not_Moved()
 {
     Assert.IsTrue(MovesFrom22.Any(bc => bc.X == 2 && bc.Y == 4));
 }
Beispiel #2
0
            public void Does_Not_Return_2_4_When_Passed_2_2_If_Piece_Has_Already_Moved()
            {
                Target.HasMoved = true;

                Assert.IsFalse(MovesFrom22.Any(bc => bc.X == 2 && bc.Y == 4));
            }
Beispiel #3
0
 public void Returns_2_3_As_One_Result_When_Passed_2_2()
 {
     Assert.IsTrue(MovesFrom22.Any(bc => bc.X == 2 && bc.Y == 3));
 }