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.17-x86-mswin32-60 tests/TC_FXGLViewer.rb
fxruby-1.6.17 tests/TC_FXGLViewer.rb
fxruby-1.6.18-universal-darwin-9 tests/TC_FXGLViewer.rb
fxruby-1.6.19-universal-darwin-9 tests/TC_FXGLViewer.rb
fxruby-1.6.18 tests/TC_FXGLViewer.rb
fxruby-1.6.18-x86-mswin32-60 tests/TC_FXGLViewer.rb
fxruby-1.6.19-x86-mswin32-60 tests/TC_FXGLViewer.rb
fxruby-1.6.19 tests/TC_FXGLViewer.rb
fxruby-1.6.2 tests/TC_FXGLViewer.rb
fxruby-1.6.3 tests/TC_FXGLViewer.rb
fxruby-1.6.4 tests/TC_FXGLViewer.rb
fxruby-1.6.5 tests/TC_FXGLViewer.rb
fxruby-1.6.6 tests/TC_FXGLViewer.rb
fxruby-1.6.8 tests/TC_FXGLViewer.rb
fxruby-1.6.7 tests/TC_FXGLViewer.rb
fxruby-1.6.9 tests/TC_FXGLViewer.rb