mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/dl/test_method.rb: delete a residual test for dl on libffi.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8e9c90ba58
commit
bbcb186ae6
2 changed files with 4 additions and 11 deletions
|
@ -1,3 +1,7 @@
|
|||
Tue Mar 9 20:50:09 2010 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* test/dl/test_method.rb: delete a residual test for dl on libffi.
|
||||
|
||||
Tue Mar 9 18:00:00 2010 Kenta Murata <mrkn@mrkn.jp>
|
||||
|
||||
* enc/trans/EMOJI/*.src, enc/trans/emoji*,
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
require_relative 'test_base'
|
||||
require 'dl/func'
|
||||
|
||||
module DL
|
||||
class TestMethod < TestBase
|
||||
def test_method_call
|
||||
f = Method.new(@libm['sinf'], [TYPE_FLOAT], TYPE_FLOAT)
|
||||
assert_in_delta 1.0, f.call(90 * Math::PI / 180), 0.0001
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue