예제 #1
0
        public void WhenCalculatingPriceWithLoyalty_ThenGetsADiscountOrNot(int sum, bool isLoyalty, int result)
        {
            int newSum = bl.CalculateOrderPriceWithLoyaltyCounted(sum, isLoyalty);

            Assert.That(newSum, Is.EqualTo(result));
        }