Sha256: 52aba9fde282b4b2fad61523f74488acf9d43cc324b01eb7f244080b4612f950

Contents?: true

Size: 503 Bytes

Versions: 1

Compression:

Stored size: 503 Bytes

Contents

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

require 'facet/range/within.rb'


  require 'test/unit'

  class TCRange < Test::Unit::TestCase

    def test_within?
      assert( (4..5).within?(3..6) )
      assert( (3..6).within?(3..6) )
      assert(! (2..5).within?(3..6) )
      assert(! (5..7).within?(3..6) )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.0.3 packages/core/test/lib/facet/range/test_within.rb