swig/Examples/test-suite/ruby/li_math_runme.rb
Karl Wette 7cd9063b52 Remove execute permissions from various non-executable files
- 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
2014-05-02 20:06:11 +02:00

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