Пример #1
0
        public void Test_Item_Special_Active()
        {
            BuildDataTest();

            ItemInCart item = new ItemInCart(Database_API.GetItem("Soup"), 1);

            item.SetSpecialValue(Database_API.GetSpecial("Soup"));

            Assert.AreEqual(2, item.GetPrice());
        }