Sha256: 0760d2187560763b2e5d431552e5384f5a0a953032bb3d1594b1df3f627dff91

Contents?: true

Size: 474 Bytes

Versions: 1

Compression:

Stored size: 474 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/string/range.rb
#
# Extracted Wed Jul 05 11:47:50 EDT 2006
# Unit Tools Reap Test Extractor
#

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