public void TestRecursivePopulationThreeLevel()
        {
            var r1 = new Recursive(1,
                                   new Recursive(2, new Recursive(4, new Recursive(5))),
                                   new Recursive(3));

            List <Recursive> list = r1.Traverse(r => r.Children).ToList();

            Assert.AreEqual(5, list.Count);
        }
        public void TestRecursivePopulationThreeLevel()
        {
            var r1 = new Recursive(1,
                   new Recursive(2, new Recursive(4, new Recursive(5))),
                   new Recursive(3));

            List<Recursive> list = r1.Traverse(r => r.Children).ToList();

            Assert.AreEqual(5, list.Count);
        }