swig/Examples/test-suite/ruby/li_math_runme.rb
Gonzalo Garramuno 1cf26ad65d Added new li_math.i test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-09-04 06:36:21 +00:00

13 lines
182 B
Ruby
Executable 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