Ejemplo n.º 1
0
        public void SuffixGroup_BuildGroupsTest2()
        {
            SuffixGroup group = new SuffixGroup("a$", "na$", "ana$", "nana$", "anana$", "banana$");

            SuffixGroup[] expected = new SuffixGroup[] {
                new SuffixGroup("a$", "ana$", "anana$"),
                new SuffixGroup("na$", "nana$"),
                new SuffixGroup("banana$"),
            };
            CollectionAssertEx.AreEquivalent(expected, group.BuildGroups());
        }
Ejemplo n.º 2
0
        public void SuffixGroup_BuildGroupsTest1()
        {
            SuffixGroup group = new SuffixGroup("$");

            CollectionAssertEx.AreEqual(group.Yield(), group.BuildGroups());
        }