Ejemplo n.º 1
0
        public void QueenAttackCheck_PieceInSameY_True()
        {
            QueenAttack newAttack = new QueenAttack();

            Assert.AreEqual(true, newAttack.QueenAttackCheck(5, 2, 1, 2));
        }
Ejemplo n.º 2
0
        public void QueenAttackCheck_PieceDiagonal_True()
        {
            QueenAttack newAttack = new QueenAttack();

            Assert.AreEqual(true, newAttack.QueenAttackCheck(7, 2, 3, 6));
        }
Ejemplo n.º 3
0
        public void QueenAttackCheck_PieceInSameX_True()
        {
            QueenAttack newAttack = new QueenAttack();

            Assert.AreEqual(true, newAttack.QueenAttackCheck(1, 8, 1, 1));
        }