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