PageRenderTime 21ms CodeModel.GetById 15ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/ruby/li_math_runme.rb

#
Ruby | 13 lines | 6 code | 2 blank | 5 comment | 2 complexity | 9cbeafc2b3060eb67f3104b7a8067422 MD5 | raw file
 1#!/usr/bin/env ruby
 2#
 3# li_math.i tests
 4#
 5#
 6
 7require 'swig_assert'
 8require 'li_math'
 9
10swig_assert_each_line <<EOF
11Li_math.cos(-5) == Math.cos(-5)
12Li_math.sin(-5) == Math.sin(-5)
13EOF