Sha256: c56da13dfd5cce0f161a3c9df29931d769875f9e62726ad85078f44ab243715d
Contents?: true
Size: 525 Bytes
Versions: 1
Compression:
Stored size: 525 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/hash/update_each.rb # # Extracted Fri Sep 08 20:20:32 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/hash/update_each.rb' require 'test/unit' class TCHash < Test::Unit::TestCase def test_update_each a = { :a => 1, :b => 2, :c => 3 } e = { :a => 2, :b => 3, :c => 4 } a.update_each{ |k,v| { k => v+1 } } assert_equal( e, a ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.7.46 | test/lib/facets/core/hash/test_update_each.rb |