Sha256: a4450a8e4eace1f13295718ff18884294df33653f1d98323b3af60e75f4cf668

Contents?: true

Size: 634 Bytes

Versions: 1

Compression:

Stored size: 634 Bytes

Contents

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

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.8.49 test/lib/facets/core/string/test_words.rb