- source files and Makefiles need never be executable - scripts are run directly by their interpreters in the test suites, so also do not need to be executable
13 lines
182 B
Ruby
13 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
|