/trunk/Examples/test-suite/ruby/li_math_runme.rb
# · Ruby · 13 lines · 6 code · 2 blank · 5 comment · 2 complexity · 9cbeafc2b3060eb67f3104b7a8067422 MD5 · raw file
- #!/usr/bin/env ruby
- #
- # li_math.i tests
- #
- #
- require 'swig_assert'
- require 'li_math'
- swig_assert_each_line <<EOF
- Li_math.cos(-5) == Math.cos(-5)
- Li_math.sin(-5) == Math.sin(-5)
- EOF