public void Test_Apply_Offer() { Item apple = new Item("A99:Apple", 00.50m, 3); Item biscuit = new Item("B15:Biscuit", 00.30m, 2); Offer biscuitOffer = new Offer(2, 00.45m, "B15:Biscuit"); Offer appleOffer = new Offer(3, 01.30m, "A99:Apple"); testCheckout.ScanItem(apple); testCheckout.ScanItem(biscuit); testCheckout.ApplyOffer(appleOffer); testCheckout.ApplyOffer(biscuitOffer); Assert.AreEqual(testCheckout.CalculateTotal(), 01.75m); }