Sha256: 4625546e333f330e41b1c4e4d601686288580f74c29aa3fa214dde38a30394b3

Contents?: true

Size: 585 Bytes

Versions: 16

Compression:

Stored size: 585 Bytes

Contents

# Copyright (c) 2023 M.J.N. Corino, The Netherlands
#
# This software is released under the MIT license.

require 'test/unit'
require 'wx'

class BasicTests < Test::Unit::TestCase

  def test_versions
    assert_equal(Wx::WXRUBY_VERSION, "#{Wx::WXRUBY_MAJOR}.#{Wx::WXRUBY_MINOR}.#{Wx::WXRUBY_RELEASE}#{Wx::WXRUBY_RELEASE_TYPE.empty? ? '' : '-'+Wx::WXRUBY_RELEASE_TYPE}")
    assert_equal(Wx::WXWIDGETS_VERSION, "#{Wx::WXWIDGETS_MAJOR_VERSION}.#{Wx::WXWIDGETS_MINOR_VERSION}.#{Wx::WXWIDGETS_RELEASE_NUMBER}")
  end

  def test_platform
    assert(/WX[A-Z]+/ =~ Wx::PLATFORM)
  end

end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
wxruby3-1.3.1 tests/test_basic.rb
wxruby3-1.3.0 tests/test_basic.rb
wxruby3-1.2.1 tests/test_basic.rb
wxruby3-1.2.0 tests/test_basic.rb
wxruby3-1.1.2 tests/test_basic.rb
wxruby3-1.1.1 tests/test_basic.rb
wxruby3-1.1.0 tests/test_basic.rb
wxruby3-1.0.1 tests/test_basic.rb
wxruby3-0.9.8 tests/test_basic.rb
wxruby3-0.9.7 tests/test_basic.rb
wxruby3-0.9.5 tests/test_basic.rb
wxruby3-0.9.4 tests/test_basic.rb
wxruby3-0.9.3 tests/test_basic.rb
wxruby3-0.9.2 tests/test_basic.rb
wxruby3-0.9.1 tests/test_basic.rb
wxruby3-0.9.0 tests/test_basic.rb