public void Sut_IsValid_WhenReceiveANumberGreaterThan100_ShouldReturnFalse( NumberValidator sut) { var result = sut.isValid(101); result.Should().BeFalse(); }
public void Sut_IsValid_WhenReceiveANumberBetween0And100_ShouldReturnTrue( int number, NumberValidator sut) { var result = sut.isValid(number); result.Should().BeTrue(); }
public void Sut_IsValid_WhenReceiveAMinusZeroNumber_ShouldReturnFalse( NumberValidator sut) { var result = sut.isValid(-1); result.Should().BeFalse(); }