Sha256: d5a73d37f82c7c478d565b6c3cb894d8a41393ef41901bd74f77eab526f2c6cd
Contents?: true
Size: 217 Bytes
Versions: 4
Compression:
Stored size: 217 Bytes
Contents
covers 'facets/hash/inverse' testcase Hash do unit :inverse do h1 = { :a=>1, :b=>2, :c=>2 } h2 = h1.inverse h2[1].assert == :a h2[2].assert.include?(:b) h2[2].assert.include?(:c) end end
Version data entries
4 entries across 4 versions & 1 rubygems