Sha256: f8e122971b4e73f95b97d4fa414870977930f440271fdd5d0aca9f3d38956cdd

Contents?: true

Size: 993 Bytes

Versions: 6

Compression:

Stored size: 993 Bytes

Contents

# Copyright (C) 2024  Ruby-GNOME Project Team
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA

class TestGLibOption < Test::Unit::TestCase
  include GLibTestUtils

  def test_arg
    assert_equal(0, GLib::OptionArg::NONE.to_i)
  end

  def test_flags
    assert_equal(0, GLib::OptionFlags::NONE.to_i)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
glib2-4.2.8 test/test-option.rb
glib2-4.2.7 test/test-option.rb
glib2-4.2.6 test/test-option.rb
glib2-4.2.5 test/test-option.rb
glib2-4.2.4 test/test-option.rb
glib2-4.2.3 test/test-option.rb