Пример #1
0
        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);
        }
Пример #2
0
        public void return_wind_undefined_if_no_user_units_retrieve()
        {
            var userUnitsService = new UserUnitsService();

            Check.That(userUnitsService.GetWindUnit()).IsEqualTo(WindUnit.Undefined);
        }