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