Exemplo n.º 1
0
 public void Attack_QueenAttacksHorizontally_true()
 {
     Queen testCoordinates = new Queen() {};
       Assert.Equal(true, testCoordinates.IsAttack(5, 1, 4, 1));
 }
Exemplo n.º 2
0
 public void Attack_QueenAttacksVertically_true()
 {
     Queen testCoordinates = new Queen() {};
       Assert.Equal(true, testCoordinates.IsAttack(1,5,1,4));
 }
Exemplo n.º 3
0
 public void Attack_QueenAttacksDiagonally_true()
 {
     Queen testCoordinates = new Queen() {};
       Assert.Equal(true, testCoordinates.IsAttack(4, 1 , 4, 2));
 }