public void should_not_get_discount_given_name_is_martin() { var example1 = new ReplaceParameterwithMethodExample1("Martin"); var price = example1.GetPrice(10, 10); Assert.Equal(100, price); }
public void should_get_ninty_percentage_discount_given_name_is_kent() { var example1 = new ReplaceParameterwithMethodExample1("Kent"); var price = example1.GetPrice(10, 10); Assert.Equal(90, price); }