Added new li_math.i test.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9929 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8682f0cbaf
commit
1cf26ad65d
1 changed files with 13 additions and 0 deletions
13
Examples/test-suite/ruby/li_math_runme.rb
Executable file
13
Examples/test-suite/ruby/li_math_runme.rb
Executable file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue