Sha256: 230caaca2ea53d8e020b7fc67793b121f026fff25d9b8083ccfe41f0df34c88c
Contents?: true
Size: 319 Bytes
Versions: 16
Compression:
Stored size: 319 Bytes
Contents
require 'facets/array/merge' require 'test/unit' class TC_Array_Merge < Test::Unit::TestCase # merge 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
16 entries across 16 versions & 1 rubygems