projects
/
external
/
swig.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
import source from 1.3.40
[external/swig.git]
/
Examples
/
test-suite
/
ruby
/
li_math_runme.rb
1
#!/usr/bin/env ruby
2
#
3
# li_math.i tests
4
#
5
#
6
7
require 'swig_assert'
8
require 'li_math'
9
10
swig_assert_each_line <<EOF
11
Li_math.cos(-5) == Math.cos(-5)
12
Li_math.sin(-5) == Math.sin(-5)
13
EOF