public void StorageAndItem_GrowAndSellToShop_ShopItemAmountIncrease() { IContainer FirstTrousers = new Trousers(); IChronic GanjaTest = new MasterKush(); IContainer MasonJar = new SmallMasonJar(); for (int i = 0; i < GanjaTest.SeedingAge; i++) GanjaTest.Grow(Water.Low, Light.None, Food.None); for (int i = 0; i < GanjaTest.FloweringAge; i++) GanjaTest.Grow(Water.Low, Light.Spring, Food.None); for (int i = 0; i < 20; i++) GanjaTest.Grow(Water.Medium, Light.Summer, Food.None); IChronic SellTest = GanjaTest.Harvest().Harvest; for (int i = 0; i < SellTest.DryingAge; i++) SellTest.Dry(); SellTest.Weck(); for (int i = 0; i < 14; i++) SellTest.Cure(MasonJar); SellTest.Finish(); FirstTrousers.Add((IItem)SellTest); IShop shop = new Shop(); shop.Sell((IItem)SellTest); Assert.IsTrue(shop.ItemAmount == 1); }
public void StorageAndItem_ButaneAddToShop_ItemAmountIncrease() { IContainer ShopTest = new Shop(); IChemical Butane = new Butane(); ShopTest.Add(Butane); Assert.IsTrue(ShopTest.ItemAmount == 1); }
public void StorageAndItem_CargoPantsAddToShop_ItemAmountIncrease() { IContainer ShopTest = new Shop(); IContainer CargoPants = new CargoPants(); ShopTest.Add((IItem)CargoPants); Assert.IsTrue(ShopTest.ItemAmount == 1); }
public void StorageAndItem_SmallJarAddToShop_ItemAmountIncrease() { IContainer ShopTest = new Shop(); IItem MasonJar = new SmallMasonJar(); ShopTest.Add(MasonJar); Assert.IsTrue(ShopTest.ItemAmount == 1); }