Example #1
0
    public void TestChange()
    {
        LanguageSetting languageSetting = new LanguageSetting();
        SystemLanguage  systemLanguage  = Application.systemLanguage;

        languageSetting.ChangeLanguage(EnumLaungageSetting.EN);
        Assert.AreEqual(EnumLaungageSetting.EN, languageSetting.GetLanguage());
        languageSetting.ChangeLanguage(EnumLaungageSetting.JP);
        Assert.AreEqual(EnumLaungageSetting.JP, languageSetting.GetLanguage());
    }