public void StoreCustomer_Gets_FivePercentDiscount_IfOverTwoYears()
        {
            // Quickly create Bill object with a line items
            var bill             = new Bill(1, 75, "shoes");
            var storeCustomer    = new StoreCustomer(1, 3);
            var netPayableAmount = storeCustomer.getNetAmountPayable(bill);

            Assert.Equal(71.25, netPayableAmount);
        }
        public void StoreCustomer_DoesNotGetDiscount_IfLessTwoYears()
        {
            // Quickly create Bill object with a line items
            var bill             = new Bill(1, 75, "shoes");
            var storeCustomer    = new StoreCustomer(1, 1);
            var netPayableAmount = storeCustomer.getNetAmountPayable(bill);

            Assert.Equal(75, netPayableAmount);
        }
        public void StoreCustomer_NoPercentage_Discount_OnGroceris()
        {
            // Quickly create Bill object with a line items
            var bill = new Bill(1, 65, "Groceries");

            var storeCustomer    = new StoreCustomer(1, 8);
            var netPayableAmount = storeCustomer.getNetAmountPayable(bill);

            Assert.Equal(65, netPayableAmount);
        }
        public void StoreCustomer_Gets_FiveDollar_ForEveryHundred_DollarBill()
        {
            // Quickly create Bill object with a line items
            var bill = new Bill(1, 1600, "Laptop");

            var storeCustomer    = new StoreCustomer(1, 4);
            var netPayableAmount = storeCustomer.getNetAmountPayable(bill);

            Assert.Equal(1520, netPayableAmount);
        }