示例#1
0
        public void AddBread_IsQuantity_Int()
        {
            Bread testBread    = new Bread("Como");
            int   testQuantity = 5;

            Assert.AreEqual(testQuantity, testBread.AddBread(5));
        }
示例#2
0
        public void BreadSubtotal_IsSubtotal_Int()
        {
            Bread testBread = new Bread("Como");

            testBread.AddBread(41);
            testBread.BreadSubtotal();
            int testSubtotal = 140;

            Assert.AreEqual(testSubtotal, testBread.BreadsSubtotal);
        }