# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/string/each_char.rb # # Extracted Tue Jul 25 10:07:15 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/string/each_char.rb' require 'test/unit' class TCString < Test::Unit::TestCase def test_each_char a = [] i = "this" i.each_char{ |w| a << w } assert_equal( ['t', 'h', 'i', 's'], a ) end end