예제 #1
0
        public void GetNumberOfAdvanceRollsTest(int startingExperience, int gainedExperience, int expectedAdvanceRolls)
        {
            var ganger = new Ganger()
            {
                Name       = "TestGanger",
                Experience = startingExperience
            };

            var advanceRolls = _experienceService.GetNumberOfAdvanceRolls(ganger, gainedExperience);

            Assert.AreEqual(expectedAdvanceRolls, advanceRolls);
        }