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

# · Ruby · 17 lines · 6 code · 3 blank · 8 comment · 0 complexity · a5738fe80d998032b9f8c50ac2264c12 MD5 · raw file

  1. #!/usr/bin/env ruby
  2. #
  3. # Put description here
  4. #
  5. #
  6. #
  7. #
  8. #
  9. require 'swig_assert'
  10. require 'sneaky1'
  11. x = Sneaky1.add(3, 4)
  12. y = Sneaky1.subtract(3, 4)
  13. z = Sneaky1.mul(3, 4)
  14. w = Sneaky1.divide(3, 4)