Sha256: c8926ddb5920bc8972e8a847ee1baf8d6a459d76b4af9f5ca58b2aa652e3d6f2

Contents?: true

Size: 460 Bytes

Versions: 1

Compression:

Stored size: 460 Bytes

Contents

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

require 'facets/core/hash/rand_key.rb'


  require 'test/unit'

  class TCHash < Test::Unit::TestCase

    def test_rand_key
      h = { :a=>1, :b=>2, :c=>3 }
      10.times { assert( h.keys.include?( h.rand_key ) ) }
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.4.1 test/lib/facets/core/hash/test_rand_key.rb