public void InitializeViewModelTest() { OpenWeatherViewModel vm = new OpenWeatherViewModel(null, DateTime.Today.ToShortDateString()); vm.InitializeViewModel(); Assert.IsNull(vm.HourlyDate); }
public void ShowWeatherInfoTest() { OpenWeatherViewModel vm = new OpenWeatherViewModel(null, DateTime.Today.ToShortDateString()); vm.InitializeViewModel(); Assert.IsNull(vm.HourlyDate); vm.ShowWeatherInfo(DateTime.Today.ToShortDateString()); Assert.IsNull(vm.Clouds_All); }