☰
Debian Codegraph
@
3.3.8-2.2
/
/
test
/
-ext-
/
struct
/
test_len.rb
☽
☼
test/-ext-/struct/test_len.rb
code
plain
raw
BSD-2-clause
or
Ruby
Yukihiro Matsumoto <
[email protected]
> and others
debian/copyright
1
# frozen_string_literal: false
2
require 'test/unit'
3
require "-test-/struct"
4
5
class Bug::Struct::Test_Len < Test::Unit::TestCase
6
def test_rstruct_len
7
klass = Bug::Struct.new(:a, :b, :c)
8
assert_equal 3, klass.new.rstruct_len
9
end
10
end