public void should_not_get_discount_given_quantity_is_less_than_100() { var example2 = new ReplaceParameterwithMethodExample2(); var price = example2.GetPrice(80, 10); Assert.Equal(800, price); }
public void should_get_ninty_percentage_discount_given_quantity_is_over_100() { var example2 = new ReplaceParameterwithMethodExample2(); var price = example2.GetPrice(200, 10); Assert.Equal(1800, price); }