Sha256: 8312b57f008a68d1e431dbc099aa7ed5e198259597bf9013ef011cc570549d56

Contents?: true

Size: 436 Bytes

Versions: 36

Compression:

Stored size: 436 Bytes

Contents

require 'test/unit'
require 'fox16'
require 'testcase'

include Fox

class TC_FXGLViewer < TestCase
  def setup
    super(self.class.name)
    vis = FXGLVisual.new(app, VISUAL_DOUBLEBUFFER)
    @viewer = FXGLViewer.new(mainWindow, vis)
  end
=begin
  def test_readPixels
    pixels = @viewer.readPixels(0, 0, @viewer.width, @viewer.height)
    assert(pixels)
    assert_equal(3*@viewer.width*@viewer.height, pixels.size)
  end
=end
end

Version data entries

36 entries across 36 versions & 1 rubygems

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