public void Discount() { decimal beforeDiscount = 250; decimal afterDiscount = 230; decimal discountRate = 8; if (PriceHelper.ApplyDiscount(beforeDiscount, discountRate) != afterDiscount) { throw new Exception(); } }
public void Discount() { decimal beforeDiscount = 250; decimal afterDiscount = 230; decimal discountRate = 8; if (PriceHelper.ApplyDiscount(beforeDiscount, discountRate) != afterDiscount) { throw new Exception(); } }