public static void TestTreeBalance() { BalancedTree b = new BalancedTree(); Console.WriteLine(b.CheckBalance<int>(GetBalanced1())); Console.WriteLine(b.CheckBalance<int>(GetBalanced2())); Console.WriteLine(b.CheckBalance<int>(GetBalanced3())); Console.WriteLine(b.CheckBalance<int>(GetUnBalanced1())); Console.WriteLine(b.CheckBalance<int>(GetUnBalanced2())); }