# File glib/tests/test-glib2.rb, line 6 def test_version assert_kind_of(Array, GLib::VERSION) assert_equal(GLib::VERSION.length, 3) assert(GLib::VERSION.all?{|i| i.is_a? Integer }) assert_kind_of(Integer, GLib::MAJOR_VERSION) assert_kind_of(Integer, GLib::MINOR_VERSION) assert_kind_of(Integer, GLib::MICRO_VERSION) assert_kind_of(Array, GLib::BINDING_VERSION) assert_equal(GLib::BINDING_VERSION.length, 3) assert(GLib::BINDING_VERSION.all?{|i| i.is_a? Integer }) end