Sha256: 01a2938d3bb2c995861d0b70e66e7979f79483491510ca189490c5b954fe9c24

Contents?: true

Size: 462 Bytes

Versions: 1

Compression:

Stored size: 462 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facet/string/range.rb
#
# Extracted Wed Jan 25 11:25:39 EST 2006
# Unit Tools Reap Test Extractor
#

require 'facet/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.0.3 packages/core/test/lib/facet/string/test_range.rb