Sha256: 81f82f0ce5d1c0140d78dee075f4976adab3ca86dfee5ab6234ef617b4ba6d61
Contents?: true
Size: 239 Bytes
Versions: 16
Compression:
Stored size: 239 Bytes
Contents
require 'facets/range/overlap' require 'test/unit' class TestRangeOverlap < Test::Unit::TestCase def test_overlaps assert( (4..5).overlap?(3..6) ) end def test_does_not_overlap assert(! (7..9).overlap?(3..6) ) end end
Version data entries
16 entries across 16 versions & 1 rubygems