public void TestGetThirdLine() { var actualResult = TemperatureParser.ParseRow(weatherProfile, data[4]); var expectedResult = makeWeatherData(12, 88, 73); actualResult.Should().BeEquivalentTo(expectedResult); }
public void ParsingProperlyCleansLine() { var actualResult = TemperatureParser.ParseRow(weatherProfile, data[3]); var expectedResult = makeWeatherData(9, 86, 32); actualResult.Should().BeEquivalentTo(expectedResult); }
public void TestLastLine() { try { var actualResult = TemperatureParser.ParseRow(weatherProfile, data.Last()); Assert.Fail(); } catch { Assert.Pass(); } }