public void ReturnFalse_WhenCheckIsCalledWithYearNotDivisibleBy4(string input) { var leapYearsChecker = new LeapYearsChecker(); var result = leapYearsChecker.Check(input); result.Should().BeFalse(); }
public void TestRandomYears(string input) { var leapYearsChecker = new LeapYearsChecker(); var result = leapYearsChecker.Check(input); result.Should().BeTrue(); }
public void ReturnTrue_WhenCheckIsCalledWithYearDivisibleBy400(string input) { var leapYearsChecker = new LeapYearsChecker(); var result = leapYearsChecker.Check(input); result.Should().BeTrue(); }
public void ReturnFalse_WhenCheckIsCalledWithEmptyString() { var input = string.Empty; var leapYearsChecker = new LeapYearsChecker(); var result = leapYearsChecker.Check(input); result.Should().BeFalse(); }