public void RandomPlayerHelper_GetRandomMonsterAdministrator_Valid_Should_Return_New_Monster() { // Arrange // Act var result = RandomPlayerHelper.GetRandomMonsterAdministrator(100000); // Reset // Assert Assert.AreEqual(400000, result.ExperienceRemaining); }
public void RandomPlayerHelper_GetRandomMonsterAdministrator_Valid_3_Level_20_Should_Return_New_Monster_Unknown() { // Arrange DiceHelper.EnableForcedRolls(); DiceHelper.SetForcedRollValue(3); // Act var result = RandomPlayerHelper.GetRandomMonsterAdministrator(20); // Reset DiceHelper.DisableForcedRolls(); // Assert Assert.AreEqual(MonsterTypeEnum.Administrator, result.MonsterTypeEnum); Assert.AreEqual(SpecificMonsterTypeEnum.Unknown, result.SpecificMonsterTypeEnum); }