Sha256: b785d3fe938553ca0d4488aa7b5f688be140dd4fdd7e9e2506cf568a377e225b
Contents?: true
Size: 471 Bytes
Versions: 10
Compression:
Stored size: 471 Bytes
Contents
require 'test/unit' require 'style' class StyleTest < Test::Unit::TestCase def test_svgline style = Style.new(:fill, "red", :stroke, "none") assert_equal( 'style="opacity:1.0;fill:red;fill-opacity:1.0;stroke:none;stroke-width:1.0;stroke-opacity:1.0"', style.svgline ) end def test_default style = Style.new assert_equal( 'style="opacity:1.0;fill:none;fill-opacity:1.0;stroke:none;stroke-width:1.0;stroke-opacity:1.0"', style.svgline ) end end
Version data entries
10 entries across 10 versions & 1 rubygems