Example #1
0
        public void TrainingChangesResultInExpected(int i_trainingLevel, bool i_isTraining, int i_expectedLevel)
        {
            mUnit.TrainingLevel = i_trainingLevel;

            mTrainerData.ChangeUnitTrainingLevel(mUnit, i_isTraining);

            Assert.AreEqual(i_expectedLevel, mUnit.TrainingLevel);
        }