Sha256: b685f19b5881eb2eec99cf0d7b026c6c80feb107916c8014f339562a93e4d23c
Contents?: true
Size: 473 Bytes
Versions: 16
Compression:
Stored size: 473 Bytes
Contents
class SVGSurfaceTest < Test::Unit::TestCase include Helper def test_new_with_nil_target surface = Cairo::SVGSurface.new(nil, 10, 20) surface.finish end def test_unit only_cairo_version(1, 15, 10) output = StringIO.new surface = Cairo::SVGSurface.new(output, 10, 20) assert_equal(Cairo::SVGUnit::PT, surface.document_unit) surface.document_unit = Cairo::SVGUnit::CM assert_equal(Cairo::SVGUnit::CM, surface.document_unit) end end
Version data entries
16 entries across 16 versions & 1 rubygems