Sha256: e4cf6d363519288742b7861cf008fa769b7642cb7b8fded9c8901e963f30f854

Contents?: true

Size: 727 Bytes

Versions: 104

Compression:

Stored size: 727 Bytes

Contents

require 'test/unit'

require 'fox16'

class TC_FXViewport < Test::Unit::TestCase
  include Fox

  def setup
    @viewport = FXViewport.new
  end

  def testAttributes
    assert(@viewport.w)
    assert_kind_of(Integer, @viewport.w)
    assert(@viewport.h)
    assert_kind_of(Integer, @viewport.h)
    assert(@viewport.left)
    assert_kind_of(Float, @viewport.left)
    assert(@viewport.right)
    assert_kind_of(Float, @viewport.right)
    assert(@viewport.bottom)
    assert_kind_of(Float, @viewport.bottom)
    assert(@viewport.top)
    assert_kind_of(Float, @viewport.top)
    assert(@viewport.hither)
    assert_kind_of(Float, @viewport.hither)
    assert(@viewport.yon)
    assert_kind_of(Float, @viewport.yon)
  end
end

Version data entries

104 entries across 104 versions & 2 rubygems

Version Path
fxruby-1.6.48 test/TC_FXViewport.rb
fxruby-1.6.48-x64-mingw32 test/TC_FXViewport.rb
fxruby-1.6.48-x64-mingw-ucrt test/TC_FXViewport.rb
fxruby-1.6.48-x86-mingw32 test/TC_FXViewport.rb
fxruby-1.6.47 test/TC_FXViewport.rb
fxruby-1.6.47-x64-mingw-ucrt test/TC_FXViewport.rb
fxruby-1.6.47-x64-mingw32 test/TC_FXViewport.rb
fxruby-1.6.47-x86-mingw32 test/TC_FXViewport.rb
fxruby-1.6.46 test/TC_FXViewport.rb
fxruby-1.6.46-x64-mingw32 test/TC_FXViewport.rb
fxruby-1.6.46-x64-mingw-ucrt test/TC_FXViewport.rb
fxruby-1.6.46-x86-mingw32 test/TC_FXViewport.rb
fxruby-1.6.45 test/TC_FXViewport.rb
fxruby-1.6.45-x64-mingw32 test/TC_FXViewport.rb
fxruby-1.6.45-x64-mingw-ucrt test/TC_FXViewport.rb
fxruby-1.6.45-x86-mingw32 test/TC_FXViewport.rb
fxruby-1.6.44 test/TC_FXViewport.rb
fxruby-1.6.44-x64-mingw32 test/TC_FXViewport.rb
fxruby-1.6.44-x86-mingw32 test/TC_FXViewport.rb
fxruby-1.6.43 test/TC_FXViewport.rb