public void should_get_point_5_given_is_not_on_vacation() { var andsExample = new AndsExample(11, false); Assert.Equal(0.5, andsExample.GetCharge()); }
public void should_get_point_5_given_length_of_service_not_greater_than_10() { var andsExample = new AndsExample(5, true); Assert.Equal(0.5, andsExample.GetCharge()); }
public void should_get_1_given_is_on_vacation_and_length_of_service_greater_than_10() { var andsExample = new AndsExample(11, true); Assert.Equal(1, andsExample.GetCharge()); }