public void ItemValue(GameItem.ItemRarity rarity, double value) { GameItem valueTestItem = new GameItem(null, null, "Generic Item", "I am an Item.", 10, rarity, 5, 10, 2); Assert.AreEqual(value, ItemSpawner.GenerateItemValue(valueTestItem)); }