示例#1
0
 public void TranslatingLanguageAfterJapaneseInitialization_Returns日本語()
 {
     Localisation.Clear();
     Localisation.Initialize(SystemLanguage.Japanese);
     Assert.IsTrue(Localisation.Translate("language") == "日本語");
 }
示例#2
0
 public void TranslatingLanguageForUnknownLanguage_ReturnsEnglush()
 {
     Localisation.Clear();
     Localisation.Initialize(SystemLanguage.Afrikaans);
     Assert.IsTrue(Localisation.Translate("language") == "English");
 }
示例#3
0
 public void CallIsInitializedAfterClear_ReturnsFalse()
 {
     Localisation.Clear();
     Assert.IsFalse(Localisation.IsInitialized);
 }