Beispiel #1
0
        public void GetStateCodeTest(string stateName, string expected)
        {
            var result = CountriesAndStates.GetStateCode(stateName);

            Assert.Equal(expected, result);
        }
Beispiel #2
0
        public void GetAlpha2CountryCodeTest(string iso3code, CountryCodeType expected)
        {
            var result = CountriesAndStates.GetAlpha2CountryCode(iso3code);

            Assert.Equal(expected, result);
        }