Пример #1
0
        public void GetTimeZoneInfosByCountryCode_ShouldReturnMultiple(string countryCode, int expected)
        {
            var actual = TimeZoneInfoUtilities.GetTimeZoneInfosByCountryCode(countryCode);

            Assert.Equal(expected, actual.Count());
        }
Пример #2
0
        public void GetTimeZoneInfosByCountryCode_ShouldReturnSingle(string countryCode)
        {
            var actual = TimeZoneInfoUtilities.GetTimeZoneInfosByCountryCode(countryCode);

            Assert.Single(actual);
        }