public void CheckRequirementTest() { Mining mining = new Mining(); Cooking cooking = new Cooking(); Assert.AreEqual(false, skillsController.CheckRequirement(mining.trainingMethods[0])); inventory.AddItem(1267, 1); Assert.AreEqual(true, inventory.Contains(1267)); Assert.AreEqual(true, skillsController.CheckRequirement(mining.trainingMethods[0])); Assert.AreEqual(true, skillsController.CheckRequirement(cooking.trainingMethods[0])); Assert.AreEqual(false, skillsController.CheckRequirement(cooking.trainingMethods[1])); }