コード例 #1
0
        public void CanAttackVertical_ReturnTrue_True()
        {
            //Arrange
            bool  canAttack   = true;
            Queen attackQueen = new Queen(3, 4);
            Queen targetQueen = new Queen(3, 2);

            //Act
            bool checkVert = attackQueen.CanAttackVertical(attackQueen.GetX(), targetQueen.GetX());

            //Assert
            Assert.AreEqual(canAttack, checkVert);
        }