Exemple #1
0
        public void TreeTraversal_CanFindParent()
        {
            var foundTreePart = TreeTraversal <TestTreePart> .GetFirstParentWhichPasses(root, node => node == root);

            Assert.AreSame(root, foundTreePart);
        }