public void CheckAddingRecepyAndCompletingRecepyWhenItemAdded(long doneRecipeStat, long strengthBonus, long agilityBonus, long intelligenceBonus, long hitpointsBonus, long damageBonus) { IRecipe recipe = new Recipe("magiq1", doneRecipeStat, doneRecipeStat, doneRecipeStat, doneRecipeStat, doneRecipeStat, "item"); testInstance.AddRecipeItem(recipe); long expectedInitiallValue = 0; Assert.AreEqual(expectedInitiallValue, testInstance.TotalAgilityBonus); Assert.AreEqual(expectedInitiallValue, testInstance.TotalDamageBonus); Assert.AreEqual(expectedInitiallValue, testInstance.TotalHitPointsBonus); Assert.AreEqual(expectedInitiallValue, testInstance.TotalIntelligenceBonus); Assert.AreEqual(expectedInitiallValue, testInstance.TotalStrengthBonus); IItem commonItem = new CommonItem("item", strengthBonus, agilityBonus, intelligenceBonus, hitpointsBonus, damageBonus); testInstance.AddCommonItem(commonItem); Assert.AreEqual(doneRecipeStat, testInstance.TotalAgilityBonus); Assert.AreEqual(doneRecipeStat, testInstance.TotalDamageBonus); Assert.AreEqual(doneRecipeStat, testInstance.TotalHitPointsBonus); Assert.AreEqual(doneRecipeStat, testInstance.TotalIntelligenceBonus); Assert.AreEqual(doneRecipeStat, testInstance.TotalStrengthBonus); }