public void StandardBillCanBeReturned()
        {
            ShopBillingSystem shopBillingSystem = new ShopBillingSystem();
            List <string>     itemList          = new List <string>();

            Assert.AreEqual(shopBillingSystem.StandardBill(itemList), 0);
        }
        public void NoServiceChargeForDrinks()
        {
            ShopBillingSystem shopBillingSystem = new ShopBillingSystem();
            List <string>     itemList          = new List <string>();

            itemList.Add("Cola");
            itemList.Add("Coffee");
            Assert.AreEqual(shopBillingSystem.StandardBill(itemList), 1.5);
        }
        public void StandardBillByItemsReturned_1_50p()
        {
            ShopBillingSystem shopBillingSystem = new ShopBillingSystem();
            List <string>     itemList          = new List <string>();

            itemList.Add("Cola");
            itemList.Add("Coffee");
            Assert.AreEqual(shopBillingSystem.StandardBill(itemList), 1.50);
        }
        public void BillWithServiceCharge_20_Percent_ForHotFood()
        {
            ShopBillingSystem shopBillingSystem = new ShopBillingSystem();
            List <string>     itemList          = new List <string>();

            itemList.Add("Cola");
            itemList.Add("Coffee");
            itemList.Add("Steak Sandwich");
            // one hot food item included so add 20% chanrge to total bill
            Assert.AreEqual(shopBillingSystem.StandardBill(itemList), 7.2);
        }
        public void BillWithServiceCharge_10_Percent_ForFood()
        {
            ShopBillingSystem shopBillingSystem = new ShopBillingSystem();
            List <string>     itemList          = new List <string>();

            itemList.Add("Cola");
            itemList.Add("Coffee");
            itemList.Add("Cheese Sandwich");
            // one food item included so add 10% chanrge to total bill
            Assert.AreEqual(shopBillingSystem.StandardBill(itemList), 3.85);
        }