Пример #1
0
        public void FindFirstNullResultTest()
        {
            Tree<string> tested = new Tree<string>();

            TreeNode<string> root = tested.SetRoot("A");
            root.AddChild("B");
            root.AddChild("C");

            TreeNode<string> found = tested.FindFirst ((x) => x.Equals ("D"));

            Assert.IsNull(found);
        }