Sha256: adcddcaf272b951218dd453835c51c0df825133f19194a17deb955a51f4265fc
Contents?: true
Size: 235 Bytes
Versions: 16
Compression:
Stored size: 235 Bytes
Contents
require 'facets/hash/insert' require 'test/unit' class TC_Hash_Prime < Test::Unit::TestCase def test_insert h = { :a=>1, :b=>2 } assert_equal( true , h.insert(:c,3) ) assert_equal( false , h.insert(:a,0) ) end end
Version data entries
16 entries across 16 versions & 1 rubygems