public void PluralizationTest() { IncrementTestCount(); var result = PluralizationServiceUtil.DoesWordContainSuffix("pepes", new string[] { "es" }, System.Globalization.CultureInfo.InvariantCulture); Assert.IsTrue(result); }
public void PluralizationTest2() { IncrementTestCount(); var result = PluralizationServiceUtil.TryInflectOnSuffixInWord("pep", new string[] { "es" }, operationOnWord, System.Globalization.CultureInfo.InvariantCulture, out string pepes); Assert.IsFalse(result); }