diff options
author | Gonzalo Garramuno <ggarra@advancedsl.com.ar> | 2007-09-04 06:36:21 +0000 |
---|---|---|
committer | Gonzalo Garramuno <ggarra@advancedsl.com.ar> | 2007-09-04 06:36:21 +0000 |
commit | 1cf26ad65d3c8003c10effdfc24f61d593b88365 (patch) | |
tree | 279817bf45f8e9def7764df506e10ae23cabe58b /Examples/test-suite/ruby/li_math_runme.rb | |
parent | 8682f0cbaf2761faf01ab46df03f8ba2c761cf4e (diff) | |
download | swig-1cf26ad65d3c8003c10effdfc24f61d593b88365.tar.gz |
Added new li_math.i test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/test-suite/ruby/li_math_runme.rb')
-rwxr-xr-x | Examples/test-suite/ruby/li_math_runme.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Examples/test-suite/ruby/li_math_runme.rb b/Examples/test-suite/ruby/li_math_runme.rb new file mode 100755 index 000000000..038278315 --- /dev/null +++ b/Examples/test-suite/ruby/li_math_runme.rb @@ -0,0 +1,13 @@ +#!/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 |