Sha256: ca380326282da1c67831f63fefc7faac7818a7f13a54fe78abcdd99fc9772c6d
Contents?: true
Size: 457 Bytes
Versions: 1
Compression:
Stored size: 457 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facet/array/rand_index.rb # # Extracted Wed Jan 25 11:25:39 EST 2006 # Unit Tools Reap Test Extractor # require 'facet/array/rand_index.rb' require 'test/unit' class TCArray < Test::Unit::TestCase def test_rand_index 10.times { i = [1,2,3].rand_index assert( (0..2).include?(i) ) } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.0.3 | packages/core/test/lib/facet/array/test_rand_index.rb |