public void GetMeanTempLatestDay_TDD()
        {
            var weatherObservation = new WeatherObservation();

            var tempObj = weatherObservation.GetMeanTempLatestDay(71190);

            Assert.IsNotNull(tempObj);
        }
        public void GetMeanTempLatestDay_TDD()
        {
            var weatherObservation = new WeatherObservation(new FakeWeatherObservationRepository());

            var tempObj = weatherObservation.GetMeanTempLatestDay(17055);

            Assert.IsNotNull(tempObj);
        }
        public void GetMeanTempLatestDay_Counting_ReturnValues()
        {
            var weatherObservation = new WeatherObservation();
            var tempObj = weatherObservation.GetMeanTempLatestDay(71190);

            var count = tempObj.Count();

            Assert.AreEqual(count, 1);
        }
        public void GetMeanTempLatestDay_Assert_ReturnValue()
        {
            var weatherObservation = new WeatherObservation(new FakeWeatherObservationRepository());

            var tempObj = weatherObservation.GetMeanTempLatestDay(55555);

            var value = (from t in tempObj select t.Value).First();

            Assert.AreEqual(value, 8.0);
        }
        public void GetMeanTempLatestDay_Count_Values()
        {
            var weatherObservation = new WeatherObservation(new FakeWeatherObservationRepository());

            var tempObj = weatherObservation.GetMeanTempLatestDay(5555);

            var count = tempObj.Count();

            Assert.AreEqual(count, 1);
        }