Sha256: fa9d0335d675a91070c477584a98214ad2371f1fe9e9ccb94bc7b5b72f998fbd

Contents?: true

Size: 484 Bytes

Versions: 1

Compression:

Stored size: 484 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/string/line_wrap.rb
#
# Extracted Fri Feb 16 02:00:37 EST 2007
# Project.rb Test Extraction
#

require 'facets/core/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


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.8.49 test/lib/facets/core/string/test_line_wrap.rb