Sha256: 26478828589cfdbd93f9f914a3a6e5e00a613346eb0e9080d9f68347c599e59d

Contents?: true

Size: 638 Bytes

Versions: 1

Compression:

Stored size: 638 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/string/words.rb
#
# Extracted Fri Sep 08 20:20:32 EDT 2006
# Unit Tools Reap Test Extractor
#

require 'facets/core/string/words.rb'


  require 'test/unit'

  class TCString < Test::Unit::TestCase

    def test_001
      x = "a b c\nd e"
      assert_equal( ['a','b','c','d','e'], x.words )
    end

    def test_002
      x = "ab cd\nef"
      assert_equal( ['ab','cd','ef'], x.words )
    end

    def test_003
      x = "ab cd \n ef-gh"
      assert_equal( ['ab','cd','ef-gh'], x.words )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.7.46 test/lib/facets/core/string/test_words.rb