/trunk/Examples/test-suite/ruby/profiletest_runme.rb

# · Ruby · 20 lines · 7 code · 5 blank · 8 comment · 1 complexity · e59b285f5fdd5d6d8c9e2631162f6829 MD5 · raw file

  1. #!/usr/bin/env ruby
  2. #
  3. # Put description here
  4. #
  5. #
  6. #
  7. #
  8. #
  9. require 'swig_assert'
  10. require 'profiletest'
  11. a = Profiletest::A.new()
  12. b = Profiletest::B.new()
  13. for i in 0...1000000
  14. a = b.fn(a)
  15. end