# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/nano/string/line_wrap.rb # # Extracted Fri Oct 28 14:20:18 EDT 2005 # Unit Tools Reap Test Extractor # require 'nano/string/line_wrap.rb' require 'test/unit' class TCString < Test::Unit::TestCase def test_line_wrap assert_equal "abc\n123\n", "abc123".line_wrap(3) assert_equal "abcd\n123\n", "abcd123".line_wrap(4) end end