public void GetForcast_TDD() { var injection = new FakeWeatherForcastRepository(); IWeatherForcast forcast= new WeatherForcast(injection); Assert.IsNotNull(forcast); }
public void GetForcast_Counting_ReturnValue() { var injection = new FakeWeatherForcastRepository(); IWeatherForcast forcast = new WeatherForcast(injection); var count = forcast.GetForcast(34.44, 234.34).Count(); Assert.AreEqual(count, 70); }