public void WhenCalculatingPriceWithLoyalty_ThenGetsADiscountOrNot(int sum, bool isLoyalty, int result) { int newSum = bl.CalculateOrderPriceWithLoyaltyCounted(sum, isLoyalty); Assert.That(newSum, Is.EqualTo(result)); }