public void GetTempLatestMonths_TDD() { var weatherObservation = new WeatherObservation(new FakeWeatherObservationRepository()); var tempObj = weatherObservation.GetTempLatestMonths(45654); Assert.IsNotNull(tempObj); }
public void GetTempLatestMonth_Counting_Assert_Value() { var weatherObservation = new WeatherObservation(new FakeWeatherObservationRepository()); var tempObj = weatherObservation.GetTempLatestMonths(544540); var value = (from t in tempObj select t.Value).First(); Assert.AreEqual(value, 11.0); }
public void GetTempLatestMonth_Counting_ReturnValue() { var weatherObservation = new WeatherObservation(new FakeWeatherObservationRepository()); var tempObj = weatherObservation.GetTempLatestMonths(544540); var count = tempObj.Count(); Assert.AreEqual(count, 3036); }
public void GetTempLatestMonths_TDD() { var weatherObservation = new WeatherObservation(); var tempObj = weatherObservation.GetTempLatestMonths(71190); Assert.IsNotNull(tempObj); }
public void GetTempLatestMonths_Counting_ReturnValue() { var weatherObservation = new WeatherObservation(); var tempObj = weatherObservation.GetTempLatestMonths(71190); var count = tempObj.Count(); Assert.AreEqual(count, 3036); }