Sha256: 7ee8e744df8fc1a9ca7c0049ce5d657f42f86e462298ee44ca8201f1759081bd

Contents?: true

Size: 469 Bytes

Versions: 1

Compression:

Stored size: 469 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/array/rand_index.rb
#
# Extracted Fri Sep 08 20:20:32 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.7.46 test/lib/facets/core/array/test_rand_index.rb