public void ContainsCultureInvariant_True() { m_MLText = new MLText(); m_MLText.AddText("en", TextEn); Assert.IsTrue(m_MLText.ContainsCultureInvariant("en")); Assert.IsTrue(m_MLText.ContainsCultureInvariant("en-UK")); }
public void ContainsCultureInvariant_False() { m_MLText = new MLText(); m_MLText.AddText("ru", TextRu); m_MLText.AddText("en", TextEn); Assert.IsFalse(m_MLText.ContainsCultureInvariant("fr")); Assert.IsFalse(m_MLText.ContainsCultureInvariant("gm")); }