# File test/src/functor_test.rb, line 48 def testRepeat cnt=0 inc = proc {cnt+=1} n = 10 verify(n, (inc*n)) assert_equal(10, cnt) end