Sha256: 7803d045d8581d33e9ab1e83f89aa61d22e36dd9509a736df641830200d59594

Contents?: true

Size: 311 Bytes

Versions: 9

Compression:

Stored size: 311 Bytes

Contents

# frozen_string_literal: true

require 'introspection_test_helper'

describe GObjectIntrospection::Lib::GIArgument do
  describe 'its member :v_ssize' do
    it 'is signed' do
      gia = GObjectIntrospection::Lib::GIArgument.new
      gia[:v_int64] = -1
      assert_equal(-1, gia[:v_ssize])
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gir_ffi-0.14.1 test/ffi-gobject_introspection/lib_test.rb
gir_ffi-0.14.0 test/ffi-gobject_introspection/lib_test.rb
gir_ffi-0.13.1 test/ffi-gobject_introspection/lib_test.rb
gir_ffi-0.13.0 test/ffi-gobject_introspection/lib_test.rb
gir_ffi-0.12.1 test/ffi-gobject_introspection/lib_test.rb
gir_ffi-0.12.0 test/ffi-gobject_introspection/lib_test.rb
gir_ffi-0.11.4 test/ffi-gobject_introspection/lib_test.rb
gir_ffi-0.11.3 test/ffi-gobject_introspection/lib_test.rb
gir_ffi-0.11.2 test/ffi-gobject_introspection/lib_test.rb