public void BreadCostCalc_EachBaguetteCosts3_6() { Bread newBreadOrder = new Bread("baguette", "2"); newBreadOrder.IsBreadOrderNumberValid(); newBreadOrder.BreadCostCalc(); Assert.AreEqual(6, newBreadOrder.BreadCost); }
public void BreadCostCalc_EachSourdoughBreadCosts8_16() { Bread newBreadOrder = new Bread("sourdough", "2"); newBreadOrder.IsBreadOrderNumberValid(); newBreadOrder.BreadCostCalc(); Assert.AreEqual(16, newBreadOrder.BreadCost); }
public void BreadCostCalc_EachWhiteBreadCosts5_10() { Bread newBreadOrder = new Bread("white", "2"); newBreadOrder.IsBreadOrderNumberValid(); newBreadOrder.BreadCostCalc(); Assert.AreEqual(10, newBreadOrder.BreadCost); }
public void BreadCostCalc_Every21stBreadReduceCostBy2xBreadTypeCost_60() { Bread newBreadOrder = new Bread("white", "21"); newBreadOrder.IsBreadOrderNumberValid(); newBreadOrder.BreadCostCalc(); Assert.AreEqual(60, newBreadOrder.BreadCost); }
public void BreadCostCalc_EveryThirdBreadCosts0_10() { Bread newBreadOrder = new Bread("white", "3"); newBreadOrder.IsBreadOrderNumberValid(); newBreadOrder.BreadCostCalc(); Assert.AreEqual(10, newBreadOrder.BreadCost); }
public void BreadCostCalc_EachItalianBreadCosts7_14() { Bread newBreadOrder = new Bread("italian", "2"); newBreadOrder.IsBreadOrderNumberValid(); newBreadOrder.BreadCostCalc(); Assert.AreEqual(14, newBreadOrder.BreadCost); }