Sha256: 572e0807cc419b4b2f935e988e8c8fc03cbb3ccb668fc696d71e8a9b5034503d

Contents?: true

Size: 444 Bytes

Versions: 1

Compression:

Stored size: 444 Bytes

Contents

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