public void ScaleLevel_Level_MaxLevel_Plus1_Should_Fail()
        {
            // Arrange
            var TestCharacter = new Crawl.Models.Character();
            var Level         = Crawl.Models.LevelTable.MaxLevel + 1;
            var Expected      = false;

            // Act
            var Actual = TestCharacter.ScaleLevel(Level);

            // Reset


            // Assert
            Assert.AreEqual(Expected, Actual, TestContext.CurrentContext.Test.Name);
        }
        public void ScaleLevel_Level_1_Should_Pass()
        {
            // Arrange
            var TestCharacter = new Crawl.Models.Character();
            var Level         = 1;
            var Expected      = true;

            // Act
            var Actual = TestCharacter.ScaleLevel(Level);

            // Reset


            // Assert
            Assert.AreEqual(Expected, Actual, TestContext.CurrentContext.Test.Name);
        }
        public void ScaleLevel_Level_5_Less_Than_Current_Level_Should_Fail()
        {
            // Arrange
            var TestCharacter = new Crawl.Models.Character();
            var Level         = 5;

            TestCharacter.Level = Level;
            var Expected = false;

            // Act
            var Actual = TestCharacter.ScaleLevel(Level - 1);

            // Reset


            // Assert
            Assert.AreEqual(Expected, Actual, TestContext.CurrentContext.Test.Name);
        }
        public void ScaleLevel_Level_2_Fixed_5_MaxHealth_Should_Equal_10()
        {
            // Arrange
            var TestCharacter            = new Crawl.Models.Character();
            var Level                    = 2;
            var ForcedRandomNumbersValue = 5;

            Crawl.Models.GameGlobals.SetForcedRandomNumbers(ForcedRandomNumbersValue, 0);
            var Expected = 10;

            // Act
            TestCharacter.ScaleLevel(Level);

            // Reset
            Crawl.Models.GameGlobals.ToggleRandomState();

            // Assert
            var Actual = TestCharacter.Attribute.MaxHealth;

            Assert.AreEqual(Expected, Actual, TestContext.CurrentContext.Test.Name);
        }