예제 #1
0
 public int?FindRoot()
 {
     var(exists, root) = tree.FindRoot();
     return(exists ? root : null);
 }
        public void InsertNode_WhenTreeIsEmpty()
        {
            tree.Add(42, true, 1);

            Assert.That(tree.FindRoot().exists, Is.True);
        }