Sha256: 28aae7a24921bb8ff7fcb599dc49f7ea2cac3db7a07de6a91a06a70beaffd2b8
Contents?: true
Size: 455 Bytes
Versions: 1
Compression:
Stored size: 455 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facet/hash/rand_pair.rb # # Extracted Wed Jan 25 11:25:39 EST 2006 # Unit Tools Reap Test Extractor # require 'facet/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.0.3 | packages/core/test/lib/facet/hash/test_rand_pair.rb |