Sha256: cd205f59c387af04602edc484d87f118b8b09639a0aa4cfb097e1678cbae4e73

Contents?: true

Size: 444 Bytes

Versions: 1

Compression:

Stored size: 444 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/string/rand_index.rb
#
# Extracted Tue Jun 06 09:30:19 EDT 2006
# Unit Tools Reap Test Extractor
#

require 'facets/core/string/rand_index.rb'


  require 'test/unit'

  class TCString < Test::Unit::TestCase

    def test_rand_index
      10.times { assert( (0..2).include?( 'abc'.rand_index ) ) }
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.4.1 test/lib/facets/core/string/test_rand_index.rb