public void CalculateProgress_100_Recipe_Five_ItemLevels_Higher_Than_Crafter()
        {
            //Arrange
            double expected = 77;
            MockCraft.TheMockCraft.SetInitialValues(50, 55, 40, 1436, 9999, "");

            //Act
            Ingenuity ing = new Ingenuity();
            string temp = ing.ApplyModifier(MockCrafter.TheMockCrafter, MockCraft.TheMockCraft);
            var result = Calc.Progress(MockCraft.TheMockCraft.RecipeLevel, MockCraft.TheMockCraft.ItemLevel, MockCrafter.TheMockCrafter.CrafterLevel, MockCrafter.TheMockCrafter.Craftsmanship);

            //Assert
            Assert.AreEqual(expected, Math.Round(result, 0, MidpointRounding.ToEven), 1);
        }
        public void CalculateQuality_100_Recipe_Eight_Levels_Lower_Than_Crafter_IngI()
        {
            //Arrange
            double expected = 163;
            MockCraft.TheMockCraft.SetInitialValues((MockCrafter.TheMockCrafter.CrafterLevel - 8), (MockCrafter.TheMockCrafter.CrafterLevel - 8), 40, 1436, 9999, "");

            //Act
            Ingenuity ing = new Ingenuity();
            string temp = ing.ApplyModifier(MockCrafter.TheMockCrafter, MockCraft.TheMockCraft);
            var result = Calc.Quality(MockCraft.TheMockCraft.RecipeLevel, MockCraft.TheMockCraft.ItemLevel, MockCrafter.TheMockCrafter.CrafterLevel, MockCrafter.TheMockCrafter.Control);

            //Assert
            Assert.AreEqual(expected, Math.Round(result, 0, MidpointRounding.ToEven), 1);
        }
        public void CalculateProgress_120__Recipe_Four_Levels_Lower_Than_Crafter()
        {
            //Arrange
            double expected = 138;
            MockCraft.TheMockCraft.SetInitialValues((MockCrafter.TheMockCrafter.CrafterLevel - 4), (MockCrafter.TheMockCrafter.CrafterLevel - 4), 40, 1436, 9999, "");
            double progressMultiplier = 1.2;

            //Act
            Ingenuity ing = new Ingenuity();
            string temp = ing.ApplyModifier(MockCrafter.TheMockCrafter, MockCraft.TheMockCraft);
            var result = Calc.Progress(MockCraft.TheMockCraft.RecipeLevel, MockCraft.TheMockCraft.ItemLevel, MockCrafter.TheMockCrafter.CrafterLevel, MockCrafter.TheMockCrafter.Craftsmanship) * progressMultiplier;

            //Assert
            Assert.AreEqual(expected, Math.Round(result, 0, MidpointRounding.ToEven), 1);
        }