public void MetStation_AvgTemp_NoTempData()
        {
            MetStation m = new MetStation();

            // Add no weather data

            try {
                double avgMin = m.AvgTemp(m.weatherData);
                Assert.Fail("Excepted Exception");
            } catch (Exception e) {
                Console.WriteLine(e.Message);
            }
        }
        public void MetStation_AvgTemp_MoreThan12Months()
        {
            MetStation  m  = new MetStation();
            WeatherData wd = new WeatherData();

            // Add less than 12 weather data points
            for (int i = 1; i <= 13; i++)
            {
                m.weatherData.Add(wd);
            }

            try {
                double avgMin = m.AvgTemp(m.weatherData);
                Assert.Fail("Excepted Exception");
            } catch (Exception e) {
                Console.WriteLine(e.Message);
            }
        }
        public void MetStation_AvgTemp_12Months()
        {
            MetStation  m  = new MetStation("a", "b", "c", "d", 1, 2, 3);
            WeatherData wd = new WeatherData();

            wd.tempAvg = 2;
            // Add less than 12 weather data points
            for (int i = 1; i <= 12; i++)
            {
                m.weatherData.Add(wd);
            }

            try {
                double avgMin = m.AvgTemp(m.weatherData);
            } catch (Exception e) {
                Console.WriteLine(e.Message);
                Assert.Fail("No Exception Expected");
            }
        }
        public void MetStation_AvgTemp_AvgTestSimple()
        {
            MetStation  m  = new MetStation();
            WeatherData wd = new WeatherData();

            wd.tempAvg = 2;
            // Add less than 12 weather data points
            for (int i = 1; i <= 12; i++)
            {
                m.weatherData.Add(wd);
            }

            try {
                double avgMin = m.AvgTemp(m.weatherData);
                Assert.AreEqual(2, avgMin);
            } catch (Exception e) {
                Console.WriteLine(e.Message);
                Assert.Fail("No Exception Expected");
            }
        }