コード例 #1
0
 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();
 }
コード例 #2
0
 public void The_number_zero_should_be_divisble_by_three()
 {
     var rule = new DivisibleByThree();
     rule.Matches(0).Should().BeTrue();
 }