# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/kernel/assign_with.rb # # Extracted Fri Sep 08 20:20:32 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/kernel/assign_with.rb' require 'test/unit' class TCKernel < Test::Unit::TestCase def test_assign_with ahash = { "z"=>0, "@a"=>1, "@b"=>2 } #, "@@a"=>3 } assign_with( ahash ) assert_equal( 0, @z ) assert_equal( 1, @a ) assert_equal( 2, @b ) #assert_equal( 3, @@a ) end end