public void AddBreadItemDiscount_ForThreeItem_Three()
        {
            Bread BreadItem = new Bread(3);
            int   result    = 10;

            Assert.AreEqual(result, BreadItem.AddBreadCost());
        }
        public void AddBreadItem_ForOneItem_One()
        {
            Bread BreadItem = new Bread(1);
            int   result    = 5;

            Assert.AreEqual(result, BreadItem.AddBreadCost());
        }
        public void AddBreadItem_ForThreeItem_Three()
        {
            Bread BreadItem = new Bread(4);
            int   result    = 15;

            Assert.AreEqual(result, BreadItem.AddBreadCost());
        }
Exemple #4
0
        public void AddBreadCost_ReturnBreadCost_Int()
        {
            Bread breadOrder = new Bread(3);

            Assert.AreEqual(15, breadOrder.AddBreadCost());
        }