# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/array/to_hash.rb # # Extracted Tue Jun 27 09:51:07 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/array/to_hash.rb' require 'test/unit' class TCArray < Test::Unit::TestCase def test_to_hash a = [:a,:b,:c] assert_equal( { 0=>:a, 1=>:b, 2=>:c }, a.to_hash ) end end