コード例 #1
0
        public void RandomPlayerHelper_GetCharacterDescriptionParent_2_Should_Return_2()
        {
            // Arrange
            DiceHelper.EnableForcedRolls();
            DiceHelper.SetForcedRollValue(2);

            // Act
            var result = RandomPlayerHelper.GetCharacterDescriptionParent();

            // Reset
            DiceHelper.DisableForcedRolls();

            // Assert
            Assert.AreEqual("My child is the best.", result);
        }