Sha256: 4c111d32f73ba234b01866b9482d1d38c5ec08ea46af9fa6e6c20c6ea2540767

Contents?: true

Size: 564 Bytes

Versions: 1

Compression:

Stored size: 564 Bytes

Contents

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

require 'facets/core/array/merge.rb'


  require 'test/unit'

  class TC_MERGE < Test::Unit::TestCase

    def test_merge
      a = [1,2,3]
      b = [3,4,5]
      assert_equal( [1,2,3,4,5], a.merge(b) )
    end

    def test_merge!
      a = [1,2,3]
      b = [3,4,5]
      a.merge!(b)
      assert_equal( [1,2,3,4,5], a )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.4.4 test/lib/facets/core/array/test_merge.rb