Sha256: 3994cb88b2e2a03e0dbb68ce64434855fb6876d10a63379f0f60d15870ace1c9

Contents?: true

Size: 246 Bytes

Versions: 11

Compression:

Stored size: 246 Bytes

Contents

require 'facets/hash/op_add'
require 'test/unit'

class TC_Hash_Op < Test::Unit::TestCase

  def test_op_and
    a = { :a => 1, :b => 2 }
    b = { :b => 3, :c => 4 }
    r = { :a => 1, :b => 3, :c => 4 }
    assert_equal( r, a + b )
  end

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
facets-2.8.4 test/core/hash/test_op_add.rb
facets-2.8.3 test/core/hash/test_op_add.rb
facets-2.8.2 test/core/hash/test_op_add.rb
facets-2.8.1 test/core/hash/test_op_add.rb
facets-2.8.0 test/core/hash/test_op_add.rb
facets-2.7.0 test/core/hash/test_op_add.rb
facets-2.6.0 test/core/hash/test_op_add.rb
facets-2.4.5 test/core/hash/test_op_add.rb
facets-2.5.1 test/core/hash/test_op_add.rb
facets-2.5.0 test/core/hash/test_op_add.rb
facets-2.5.2 test/core/hash/test_op_add.rb