Ejemplo n.º 1
0
        public void GetEnumeratorTest()
        {
            IBaseTree tree = new BaseTree();

            String root = "World";

            tree.AddWord((string)null, root);

            IEnumerator <Node> e = (IEnumerator <Node>)tree.GetEnumerator();

            Assert.IsNotNull(e);
            e.MoveNext();
            Assert.IsNotNull(e.Current);
        }