public void SuffixGroup_ReduceTest4() { SuffixGroup group = new SuffixGroup("nan$", "nana$", "naa$"); string prefix; Assert.AreEqual(new SuffixGroup("n$", "na$", "a$"), group.Reduce(out prefix)); Assert.AreEqual("na", prefix); }
public void SuffixGroup_ReduceTest2() { SuffixGroup group = new SuffixGroup("test$"); string prefix; Assert.AreEqual(group, group.Reduce(out prefix)); Assert.AreEqual("test$", prefix); }