Sha256: d2653d367503da0fdb63903597392e1d1f214841cee15cc646c00683a632cf64
Contents?: true
Size: 568 Bytes
Versions: 1
Compression:
Stored size: 568 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facet/kernel/assign_with.rb # # Extracted Wed Jan 25 11:25:39 EST 2006 # Unit Tools Reap Test Extractor # require 'facet/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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.0.3 | packages/core/test/lib/facet/kernel/test_assign_with.rb |