class EnumerableTest

  1. test/enumerable_test.rb

Methods

Public Instance

  1. test_enumerable

Public Instance methods

test_enumerable ()
[show source]
# File test/enumerable_test.rb, line 8
def test_enumerable
  result = RubyProf.profile do
    3.times {  [1,2,3].any? {|n| n} }
  end
  assert result.threads.to_a.first[1].length == 4
end