#!/usr/local/bin/ruby # test.rb -- test of AVL.so # by Filip Pizlo, 2001 # expected output: # this = that # this = that # 1 require 'AVL' tree=AVL::AVL.new tree['this']='that' puts "this = #{tree['this']}" tree.each {|a,b| puts "#{a} = #{b}" } puts "count: #{tree.count}"