Sha256: f448eb790756cf6929b247a5d0734e7200cafe329b81c2605539b1db30b6621b
Contents?: true
Size: 481 Bytes
Versions: 9
Compression:
Stored size: 481 Bytes
Contents
class SVGSurfaceTest < Test::Unit::TestCase include CairoTestUtils 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
9 entries across 9 versions & 1 rubygems