Sha256: 19f6801d4bf9e6cfea356e6aa2789a737845988e40213bb05b42dfaf09abbf38
Contents?: true
Size: 458 Bytes
Versions: 2
Compression:
Stored size: 458 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facet/hash/rand_value.rb # # Extracted Mon Mar 13 13:24:08 UTC 2006 # Unit Tools Reap Test Extractor # require 'facet/hash/rand_value.rb' require 'test/unit' class TCHash < Test::Unit::TestCase def test_rand_value h = { :a=>1, :b=>2, :c=>3 } 10.times { assert( h.values.include?( h.rand_value ) ) } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facets-1.1.0 | test/lib/facet/hash/test_rand_value.rb |
facets-1.2.0 | test/lib/facet/hash/test_rand_value.rb |