public void Should_ReturnNumberOfValidNumbersCorrectly(string expected, string input) { _streamReader = StreamHelper.GetStream(input); var result = new FourPointFive().Run(_streamReader); Assert.Equal(expected, result); }
public void Should_ComputeIfNumberIsValidCorrectly(bool expected, int number) { var result = new FourPointFive().IsValid(number); Assert.Equal(expected, result); }