Sha256: 8dc8567b1ec9e15c6e2ba07887f8bf3d135a189e92a8d026c6e3a6df51582051
Contents?: true
Size: 469 Bytes
Versions: 1
Compression:
Stored size: 469 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/array/rand_index.rb # # Extracted Mon Jun 05 08:14:29 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/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.4.0 | test/lib/facets/core/array/test_rand_index.rb |