# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/string/each_char.rb # # Extracted Fri Feb 16 02:00:37 EST 2007 # Project.rb Test Extraction # 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