Sha256: 25fc69962dcc4595c563fdd6c341d1097642fad6c77c11ee9e11d8cb1bcc6dfc
Contents?: true
Size: 442 Bytes
Versions: 10
Compression:
Stored size: 442 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ | # |_|\___||___/\__| # # for facets/array/merge.rb require 'facets/array/merge.rb' require 'test/unit' class TestArray < 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
10 entries across 10 versions & 1 rubygems