Sha256: 9c8efc8f1ab74bde04d7b5a2648f4d18f9119b24d1f4c7e1c4bc12fb83fcbea7

Contents?: true

Size: 436 Bytes

Versions: 1

Compression:

Stored size: 436 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facet/enumerable/to_h.rb
#
# Extracted Wed Jan 25 11:25:39 EST 2006
# Unit Tools Reap Test Extractor
#

require 'facet/enumerable/to_h.rb'


  require 'test/unit'

  class TCEnumerable < Test::Unit::TestCase

    def test_to_h
      a = [:a,:b,:c]
      assert_equal( { 0=>:a, 1=>:b, 2=>:c }, a.to_h )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.0.3 packages/core/test/lib/facet/enumerable/test_to_h.rb