Sha256: adb0cb3f231e54fd9a494b1b6a44ca9f3c757dcbae407701147bfedeb326d82a

Contents?: true

Size: 219 Bytes

Versions: 5

Compression:

Stored size: 219 Bytes

Contents

covers "facets/hash/diff"

test_case Hash do

  method :diff do

    test do
      h1 = {:a=>1,:b=>2}
      h2 = {:a=>1,:b=>3}
      h1.diff(h2).assert == {:b=>2}
      h2.diff(h1).assert == {:b=>3}
    end

  end

end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
facets-glimmer-3.2.0 test/core/hash/test_diff.rb
facets-3.1.0 test/core/hash/test_diff.rb
facets-3.0.0 test/core/hash/test_diff.rb
facets-2.9.3 test/core/hash/test_diff.rb
facets-2.9.2 test/core/hash/test_diff.rb