/trunk/Examples/test-suite/ruby/li_math_runme.rb
Ruby | 13 lines | 6 code | 2 blank | 5 comment | 2 complexity | 9cbeafc2b3060eb67f3104b7a8067422 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- #!/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