Exemplo n.º 1
0
        public void BinaryTree_Height_Should_Pass()
        {
            var root   = this.CreateTestTree();
            var t      = new BinaryTree <int>(root);
            int height = t.GetHeight(root);

            height.Should().Be(4, "height is incorrect.");
        }