public void IsBalanced_Unbalanced_False()
        {
            var actual = TreeExtensions.IsBalanced(CreateTwoLevelsUnbalanced());

            Assert.AreEqual(false, actual);

            actual = TreeExtensions.IsBalanced(CreateThreeLevelsUnbalanced());
            Assert.AreEqual(false, actual);
        }
        public void IsBalanced_Balanced_True()
        {
            var actual = TreeExtensions.IsBalanced(CreateOneNode());

            Assert.AreEqual(true, actual);

            actual = TreeExtensions.IsBalanced(CreateTwoLevels());
            Assert.AreEqual(true, actual);

            actual = TreeExtensions.IsBalanced(CreateThreeLevels());
            Assert.AreEqual(true, actual);
        }