public void Longest_country_name() { var idcd = DialingCodes.FindLongestCountryName( DialingCodes.GetExistingDictionary()); Assert.Equal("United States of America", idcd); }
public void Longest_country_name_for_empty_dictionary() { var longestCountryName = DialingCodes.FindLongestCountryName( DialingCodes.GetEmptyDictionary()); Assert.Equal(string.Empty, longestCountryName); }