public void The_number_zero_should_be_divisble_by_three() { var rule = new DivisibleByFive(); rule.Matches(0).Should().BeTrue(); }
public void Given_the_a_number_not_divisble_by_five_it_should_not_match(int number) { var rule = new DivisibleByFive(); rule.Matches(number).Should().BeFalse(); }
public void Should_match_number_divisble_by_five(int number) { bool isMatch = _rule.Matches(number); Assert.True(isMatch); }