Пример #1
0
        public void AblityRequirementMet_FalseResult()
        {
            Character objChar = new Character(1);
            Ability   objAbil = new Ability(1); //Strength

            bool blnReturnVal = Ability.AblityRequirementMet(objAbil.AbilityID, 12, objChar);

            Assert.IsFalse(blnReturnVal);
        }
Пример #2
0
        public void AblityRequirementMet_TrueResult()
        {
            Character objChar = new Character(1);
            Ability   objAbil = new Ability(3); //Wisdom

            bool blnReturnVal = Ability.AblityRequirementMet(objAbil.AbilityID, 10, objChar);

            Assert.IsTrue(blnReturnVal);
        }