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