Sha256: 6cd9920c7b8b668313cb311526a24872163033533b6dc5aaeea556c4fdd6390d

Contents?: true

Size: 180 Bytes

Versions: 16

Compression:

Stored size: 180 Bytes

Contents

require 'facets/kernel/in.rb'
require 'test/unit'

class TestKernelIn < Test::Unit::TestCase

  def test_in?
    assert( 5.in?(0..10) )
    assert( 5.in?([1,2,3,4,5]) )
  end

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
facets-2.8.4 test/core/kernel/test_in.rb
facets-2.8.3 test/core/kernel/test_in.rb
facets-2.8.2 test/core/kernel/test_in.rb
facets-2.8.1 test/core/kernel/test_in.rb
facets-2.8.0 test/core/kernel/test_in.rb
facets-2.7.0 test/core/kernel/test_in.rb
facets-2.6.0 test/core/kernel/test_in.rb
facets-2.4.0 test/kernel/test_in.rb
facets-2.4.1 test/kernel/test_in.rb
facets-2.4.4 test/core/kernel/test_in.rb
facets-2.4.2 test/core/kernel/test_in.rb
facets-2.4.3 test/core/kernel/test_in.rb
facets-2.5.1 test/core/kernel/test_in.rb
facets-2.5.0 test/core/kernel/test_in.rb
facets-2.4.5 test/core/kernel/test_in.rb
facets-2.5.2 test/core/kernel/test_in.rb