Sha256: 219c1c492c94461f9956d13feacd4cfdcb9a55fd687afdcf89885f302b948360
Contents?: true
Size: 467 Bytes
Versions: 1
Compression:
Stored size: 467 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/hash/rand_pair.rb # # Extracted Fri Sep 08 20:20:32 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/hash/rand_pair.rb' require 'test/unit' class TCHash < Test::Unit::TestCase def test_rand_pair h = { :a=>1, :b=>2, :c=>3 } 10.times { k,v = *h.rand_pair; assert_equal( v, h[k] ) } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.7.46 | test/lib/facets/core/hash/test_rand_pair.rb |