Sha256: 8205ce0946bc0bcd88de8680250da4dfff1d9ec7857655f83797cbe1f18cfa49

Contents?: true

Size: 307 Bytes

Versions: 24

Compression:

Stored size: 307 Bytes

Contents

class ScriptSurfaceTest < Test::Unit::TestCase
  include Helper

  def setup
    only_surface("Script")
  end

  def test_device
    device = Cairo::ScriptDevice.new(StringIO.new)
    surface = Cairo::ScriptSurface.new(device, 100, 100)
    assert_equal(Cairo::ScriptDevice, surface.device.class)
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
cairo-1.17.13 test/test_script_surface.rb
cairo-1.17.12 test/test_script_surface.rb
cairo-1.17.11 test/test_script_surface.rb
cairo-1.17.10 test/test_script_surface.rb
cairo-1.17.9 test/test_script_surface.rb
cairo-1.17.8 test/test_script_surface.rb
cairo-1.17.7 test/test_script_surface.rb
cairo-1.17.6 test/test_script_surface.rb
cairo-1.17.5 test/test_script_surface.rb
cairo-1.17.4 test/test_script_surface.rb
cairo-1.16.6 test/test_script_surface.rb
cairo-1.16.5 test/test_script_surface.rb
cairo-1.16.4 test/test_script_surface.rb
cairo-1.16.3 test/test_script_surface.rb
cairo-1.16.2 test/test_script_surface.rb
cairo-1.16.1-x86-mingw32 test/test_script_surface.rb
cairo-1.16.1-x64-mingw32 test/test_script_surface.rb
cairo-1.16.1 test/test_script_surface.rb
cairo-1.16.0-x86-mingw32 test/test_script_surface.rb
cairo-1.16.0-x64-mingw32 test/test_script_surface.rb