예제 #1
0
        public void Test_GetBaseAttack_ByID_BadResult()
        {
            int        intBaseAttackID = 0;
            BaseAttack objBaseAttack   = new BaseAttack();

            objBaseAttack.GetBaseAttack(intBaseAttackID);

            Assert.IsTrue(objBaseAttack.BaseAttackNumber == 0 && objBaseAttack.BaseAttackID == 0);
        }
예제 #2
0
        public void Test_GetBaseAttack_ByID_GoodResult()
        {
            int        intBaseAttackID = 1;
            BaseAttack objBaseAttack   = new BaseAttack();

            objBaseAttack.GetBaseAttack(intBaseAttackID);

            Assert.AreEqual(intBaseAttackID, objBaseAttack.BaseAttackID);
        }