Sha256: 88d98f5edfd2a304e7aee8a593133f839afba7400363d2995f1450667761ce30
Contents?: true
Size: 555 Bytes
Versions: 6
Compression:
Stored size: 555 Bytes
Contents
require 'test/unit' require 'fox12' require 'testcase' include Fox class TC_FXScrollWindow < TestCase def setup super(self.class.name) @scrollWindow = FXScrollWindow.new(mainWindow) end def test_position_get pos = @scrollWindow.position assert_instance_of(Array, pos) assert_equal(2, pos.size) assert_kind_of(Integer, pos[0]) assert_kind_of(Integer, pos[1]) end def test_setPosition @scrollWindow.setPosition(0, 0) end def test_position_move_and_resize @scrollWindow.position(0, 0, 1, 1) end end
Version data entries
6 entries across 6 versions & 1 rubygems