예제 #1
0
        public void GetTimeZonesByCountryCode_ShouldReturnSingle(string countryCode)
        {
            var actual = TimeZoneInfoUtilities.GetTimeZonesByCountryCode(countryCode);

            Assert.Single(actual);
        }
예제 #2
0
        public void GetTimeZonesByCountryCode_ShouldReturnMultiple(string countryCode, int expected)
        {
            var actual = TimeZoneInfoUtilities.GetTimeZonesByCountryCode(countryCode);

            Assert.Equal(expected, actual.Count);
        }
예제 #3
0
        public void GetTimeZonesByCountryCode_Should_ReturnEmpty(string countryCode)
        {
            var actual = TimeZoneInfoUtilities.GetTimeZonesByCountryCode(countryCode);

            Assert.Empty(actual);
        }