Sha256: b87221aae0aa42c1bbe7abda15c2895778e80fb88baa61c780b40bed506fac53

Contents?: true

Size: 525 Bytes

Versions: 1

Compression:

Stored size: 525 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/hash/op_lshift.rb
#
# Extracted Tue Jul 25 10:07:15 EDT 2006
# Unit Tools Reap Test Extractor
#

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


  require 'test/unit'

  class TCHash < Test::Unit::TestCase

    def test_shift_update
      a = { :a => 1, :b => 2, :c => 3 }
      b = { :a => 0, :d => 4 }
      e = { :a => 0, :b => 2, :c => 3, :d => 4 }
      assert_equal( e, a << b )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.7.0 test/lib/facets/core/hash/test_op_lshift.rb