public void ParseSunrise_WithGoodData_ReturnsExpectedString() { string expected = "2:35:18 PM"; string result = SunsetTDD.ParseSunrise(sampleData); Assert.AreEqual(expected, result); }
public void ParseSunrise_WithErrorData_ReturnsNull() { string result = SunsetTDD.ParseSunrise(errorData); Assert.IsNull(result); }
public void ParseSunrise_WithGoodData_ReturnsString() { string result = SunsetTDD.ParseSunrise(sampleData); Assert.IsNotNull(result); }