14 lines
182 B
Ruby
14 lines
182 B
Ruby
|
|
#!/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
|