fedora-migrator /vendor/gems/facets-2.4.5/test/core/kernel/test_in.rb

Language Ruby Lines 12
MD5 Hash 374fc41b9e39a1d699706550c076779f Estimated Cost $170 (why?)
Repository https://bitbucket.org/mediashelf/fedora-migrator View Raw File
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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
Back to Top