# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/hash/rand_key.rb # # Extracted Tue Jun 27 09:51:08 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/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