public void CanNotBeNegative() { MorkDrink md = new MorkDrink(-85); MorkSide ms = new MorkSide(3); MorkEntree me = new MorkEntree(2); Order o = new Order(); o.Add(md); o.Add(ms); o.Add(me); Assert.Equal <double>(0, o.SubtotalCost); }
public void ItShouldHveRightPrice() { MorkDrink md = new MorkDrink(5); MorkSide ms = new MorkSide(3); MorkEntree me = new MorkEntree(2); Order o = new Order(); o.Add(md); o.Add(ms); o.Add(me); Assert.Equal <double>(10, o.SubtotalCost); }