public void return_wind_kph_when_user_units_defined() { var userUnitsService = new UserUnitsService(); userUnitsService.SetUserUnits(new UserUnits("0", "0", "0")); Check.That(userUnitsService.GetWindUnit()).IsEqualTo(WindUnit.Kph); }
public void return_wind_undefined_if_no_user_units_retrieve() { var userUnitsService = new UserUnitsService(); Check.That(userUnitsService.GetWindUnit()).IsEqualTo(WindUnit.Undefined); }