public void UpdateHeightTest() { BinTree<int> tree = new BinTree<int>(new BinNode<int>(10)); tree.InsertAsLC(tree.Root(), 15); Assert.IsTrue(tree.Root().LChild.Height == 0, "lchild"); tree.InsertAsLC(tree.Root().LChild, 16); tree.UpdateHeightAbove(tree.Root().LChild); Assert.IsTrue(tree.Root().LChild.Height == 1); }