Sha256: e27c1606fd5101ed32b119bdba4700355177e4fd406ac08f9553f1a77470da2c

Contents?: true

Size: 438 Bytes

Versions: 6

Compression:

Stored size: 438 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 tests/test_basic.rb
wxruby3-0.9.0.pre.rc.2 tests/test_basic.rb
wxruby3-0.9.0.pre.rc.1 tests/test_basic.rb
wxruby3-0.9.0.pre.beta.14 tests/test_basic.rb
wxruby3-0.9.0.pre.beta.13 tests/test_basic.rb
wxruby3-0.9.0.pre.beta.11 tests/test_basic.rb