SIL.WritingSystems.Tests/LanguageLookupTests.cs
/// <summary>
/// This is a result of finding that some of the alternative names, in Nov 2016, were *not* marked as pejorative but actually were.
/// These may be fixed in the Ethnologue over time, but it was requested that we just remove all alternative names for now.
/// </summary>
This is a result of finding that some of the alternative names, in Nov 2016, were *not* marked as pejorative but actually were.
These may be fixed in the Ethnologue over time, but it was requested that we just remove all alternative names for now.
This is a result of finding that some of the alternative names in Nov 2016 were * not * marked as pejorative but actually were . These may be fixed in the Ethnologue over time but it was requested that we just remove all alternative names for now .
[Test]
		public void SuggestLanguages_LanguageIsInEthiopia_ShowOnlyOfficialNames()
		{
			var lookup = new LanguageLookup();
			var languages = lookup.SuggestLanguages("Wolaytta").ToArray();
			Assert.True(languages.Any(l => l.Names.Contains("Wolaytta")));
			Assert.AreEqual(1, languages[0].Names.Count, "Should only list a single name for Ethiopian languages.");
		}
[ Test ] public void SuggestLanguages_LanguageIsInEthiopia_ShowOnlyOfficialNames ( ) { var lookup = new LanguageLookup ( ) ; var languages = lookup . SuggestLanguages ( " " ) . ToArray ( ) ; Assert . True ( languages . Any ( l => l . Names . Contains ( " " ) ) ) ; Assert . AreEqual ( 1 , languages [ 0 ] . Names . Count , " " ) ; }
This is a result of finding that some of the alternative names, in Nov 2016, were *not* marked as pejorative but actually were.
This is a result of finding that some of the alternative names in Nov 2016 were * not * marked as pejorative but actually were .