Sha256: 20dff80021bd8838204157aad5589c0a93735d4e7fc4d2967a857ba5c2ddff3b

Contents?: true

Size: 444 Bytes

Versions: 1

Compression:

Stored size: 444 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/hash/at.rb
#
# Extracted Mon Jul 03 00:56:56 EDT 2006
# Unit Tools Reap Test Extractor
#

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


  require 'test/unit'

  class TCHash < Test::Unit::TestCase

    def test_at
      h = { :a=>1, :b=>2 }
      assert_equal( 1, h.at(:a) )
      assert_equal( 2, h.at(:b) )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.4.4 test/lib/facets/core/hash/test_at.rb