Sha256: c8e974ca2210119452fa62af94d4c51906f7917283f06e7624315209fa0b19cc

Contents?: true

Size: 542 Bytes

Versions: 1

Compression:

Stored size: 542 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/hash/shuffle.rb
#
# Extracted Fri Feb 16 02:00:36 EST 2007
# Project.rb Test Extraction
#

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


  require 'test/unit'

  class TCHash < Test::Unit::TestCase

    def test_shuffle
      h = {:a=>1, :b=>2, :c=>3 }
      assert_nothing_raised { h.shuffle }
    end

    def test_shuffle!
      h = {:a=>1, :b=>2, :c=>3 }
      assert_nothing_raised { h.shuffle! }
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.8.49 test/lib/facets/core/hash/test_shuffle.rb