public void TestMethod3()
        {
            decimal expectedTotalPrice = decimal.Round((decimal)74.68, 2, MidpointRounding.AwayFromZero);
            decimal expectedTotalTaxes = decimal.Round((decimal)6.70, 2, MidpointRounding.AwayFromZero);

            Console.WriteLine("Input3:");
            Cosmetic c1 = new Cosmetic("bottle of perfume", 1, (decimal)27.99, true);
            Cosmetic c2 = new Cosmetic("bottle of perfume", 1, (decimal)18.99, false);
            Drug     d  = new Drug("packet of headache pills", 1, (decimal)9.75, false);
            Food     f  = new Food("box of chocolates", 1, (decimal)11.25, true);

            Console.WriteLine(c1.ToStringWithoutTaxes());
            Console.WriteLine(c2.ToStringWithoutTaxes());
            Console.WriteLine(d.ToStringWithoutTaxes());
            Console.WriteLine(f.ToStringWithoutTaxes());
            Console.WriteLine("Output1:");
            Console.WriteLine(c1.ToString());
            Console.WriteLine(c2.ToString());
            Console.WriteLine(d.ToString());
            Console.WriteLine(f.ToString());
            decimal totalTaxes = c1.GetTotalTaxes() + c2.GetTotalTaxes() + d.GetTotalTaxes() + f.GetTotalTaxes();
            decimal totalPrice = c1.GetTotalPrice() + c2.GetTotalPrice() + d.GetTotalPrice() + f.GetTotalPrice();

            Console.WriteLine("Sales Taxes: " + totalTaxes);
            Console.WriteLine("Total: " + totalPrice);
            Assert.AreEqual(totalTaxes, expectedTotalTaxes);
            Assert.AreEqual(totalPrice, expectedTotalPrice);
        }