Sha256: 1816fe33c1d6427e3ca1ef9d7d831986c11c8a3d2b5dc8795b2a6b9db8453525
Contents?: true
Size: 576 Bytes
Versions: 1
Compression:
Stored size: 576 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/kernel/assign_with.rb # # Extracted Fri Feb 16 02:00:36 EST 2007 # Project.rb Test Extraction # 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.8.49 | test/lib/facets/core/kernel/test_assign_with.rb |