Sha256: 688ee8873603cd4222960b43c685de0fd3869a691fa2f00e0f54046bc8a3cefa

Contents?: true

Size: 564 Bytes

Versions: 1

Compression:

Stored size: 564 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/array/merge.rb
#
# Extracted Wed Jul 05 11:47:50 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.5 test/lib/facets/core/array/test_merge.rb