Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        public void SuffixGroup_ReduceTest2()
        {
            SuffixGroup group = new SuffixGroup("test$");
            string      prefix;

            Assert.AreEqual(group, group.Reduce(out prefix));
            Assert.AreEqual("test$", prefix);
        }