# File test.rb, line 72 def Test::duplicatetest puts "########### Duplicates test" tree = RedBlackTree.new 100.times { tree << 5 } #printtree tree puts "Left depth: #{tree.max_depth_of tree.root.left}" puts "Right depth: #{tree.max_depth_of tree.root.right}" end