Sha256: c679f4fb2a8d769cf70595f4665d29d010c268a87e6f45ae7a79c5e006d9a38d

Contents?: true

Size: 725 Bytes

Versions: 38

Compression:

Stored size: 725 Bytes

Contents

require 'test/unit'

require 'fox16'

include Fox

class TC_FXViewport < Test::Unit::TestCase
  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

38 entries across 38 versions & 1 rubygems

Version Path
fxruby-1.6.20-x86-mingw32 test/TC_FXViewport.rb
fxruby-1.6.20-x86-linux test/TC_FXViewport.rb
fxruby-1.6.20 test/TC_FXViewport.rb
fxruby-1.6.20-universal-darwin-10 test/TC_FXViewport.rb
fxruby-1.6.19-x86-mingw32 tests/TC_FXViewport.rb
fxruby-1.6.14-mswin32 tests/TC_FXViewport.rb
fxruby-1.6.13-mswin32 tests/TC_FXViewport.rb
fxruby-1.6.0 tests/TC_FXViewport.rb
fxruby-1.6.1 tests/TC_FXViewport.rb
fxruby-1.6.10 tests/TC_FXViewport.rb
fxruby-1.6.11 tests/TC_FXViewport.rb
fxruby-1.6.12 tests/TC_FXViewport.rb
fxruby-1.6.13 tests/TC_FXViewport.rb
fxruby-1.6.14-universal-darwin-9 tests/TC_FXViewport.rb
fxruby-1.6.14 tests/TC_FXViewport.rb
fxruby-1.6.15-universal-darwin-9 tests/TC_FXViewport.rb
fxruby-1.6.15 tests/TC_FXViewport.rb
fxruby-1.6.15-x86-mswin32-60 tests/TC_FXViewport.rb
fxruby-1.6.16-universal-darwin-9 tests/TC_FXViewport.rb
fxruby-1.6.16-x86-mswin32-60 tests/TC_FXViewport.rb