Esempio n. 1
0
        public void Restock_StockLevelGreaterThanRestockLevel_ReturnsFalse()
        {
            var item = new Clothing("Test Clothing", Item.Type.Clothing, 10.0m, 10, 5, 20, "Black", Clothing.clothingType.Jackets);

            var result = item.Restock();

            Assert.IsFalse(result);
        }
Esempio n. 2
0
        public void Restock_StockLevelEqualToRestockLevel_ReturnsTrue()
        {
            var item = new Clothing("Test Clothing", Item.Type.Clothing, 10.0m, 10, 10, 20, "Black", Clothing.clothingType.Jackets);

            var result = item.Restock();

            Assert.IsTrue(result);
        }