public void RemoveMultiplyingAffixTest() { string line = "trimethyl"; string lineWithoutPrefix = MultiplyingAffix.RemoveMultiplyingAffixName(line); StringAssert.AreEqualIgnoringCase("methyl", lineWithoutPrefix); }
public void GetAllNamesProperlySorted() { List <string> names = MultiplyingAffix.GetAllNames(); Assert.AreEqual(9, names[0].Length); Assert.AreEqual(2, names[24].Length); }