ruby/test/dl/test_cparser.rb

14 строки
215 B
Ruby

require_relative 'test_base'
require 'dl/cparser'
module DL
class TestCParser < TestBase
include DL::CParser
def test_uint_ctype
assert_equal(-DL::TYPE_INT, parse_ctype('uint'))
end
end
end