Sha256: fbe55639cfb3d8b37bac0b3c3d76407c8848d99ef1905687515777f99456fefe

Contents?: true

Size: 453 Bytes

Versions: 6

Compression:

Stored size: 453 Bytes

Contents

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}")
    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

6 entries across 6 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.3-x64-mingw-ucrt tests/test_basic.rb
wxruby3-0.9.0.pre.rc.2-x64-mingw-ucrt tests/test_basic.rb
wxruby3-0.9.0.pre.rc.1-x64-mingw-ucrt tests/test_basic.rb
wxruby3-0.9.0.pre.beta.14-x64-mingw-ucrt tests/test_basic.rb
wxruby3-0.9.0.pre.beta.13-x64-mingw-ucrt tests/test_basic.rb
wxruby3-0.9.0.pre.beta.11-x64-mingw-ucrt tests/test_basic.rb