Sha256: b1db18ea3ba69a6b471ff1313759aa4811ebf81ae9b0d9905171ec8ddff0090b

Contents?: true

Size: 425 Bytes

Versions: 1

Compression:

Stored size: 425 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/nano/hash/swap.rb
#
# Extracted Fri Oct 28 14:20:18 EDT 2005
# Unit Tools Reap Test Extractor
#

require 'nano/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-0.9.0 test/lib/nano/hash/test_swap.rb