Example #1
0
        public void AddSalesPromo_AdjustQuantityPriceToIncludeDiscounts_Int()
        {
            Pastry TestPastry  = new Pastry(6);
            Pastry TestPastry2 = new Pastry(2);
            Pastry TestPastry3 = new Pastry(7);
            int    Answer1     = 10;
            int    Answer2     = 4;
            int    Answer3     = 12;

            Assert.AreEqual(Answer1, TestPastry.AddSalesPromo());
            Assert.AreEqual(Answer2, TestPastry2.AddSalesPromo());
            Assert.AreEqual(Answer3, TestPastry3.AddSalesPromo());
        }