Sha256: 0207de5471f72b516fef5779834226fc3e05c2f9ef556bc81e6103a5a9f60bec

Contents?: true

Size: 470 Bytes

Versions: 1

Compression:

Stored size: 470 Bytes

Contents

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

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


  require 'test/unit'

  class TCString < Test::Unit::TestCase

    def test_range
      assert_equal( (1..3), "a123a567a9".range(/123/) )
      assert_equal( (0..0), "a123a567a9".range(/a/) )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

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