# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/nano/hash/rand_key.rb # # Extracted Fri Oct 28 14:20:18 EDT 2005 # Unit Tools Reap Test Extractor # require 'nano/hash/rand_key.rb' require 'test/unit' class TCHash < Test::Unit::TestCase def test_rand_key h = { :a=>1, :b=>2, :c=>3 } 10.times { assert( h.keys.include?( h.rand_key ) ) } end end