public void CanAddChildNodes() { Tree.Classes.Tree testTree = new Tree.Classes.Tree(new Node(7)); testTree.Add(9); testTree.Add(10); Assert.Equal(9, testTree.Root.LeftChild.Value); }
public void CanGetRootValue() { Tree.Classes.Tree testTree = new Tree.Classes.Tree(); testTree.Add(7); Assert.Equal(7, testTree.Root.Value); }