Sha256: aed338a639604c945f95af5ac1c66c099f2d1151c63cf03ac0d5124c7549584d
Contents?: true
Size: 564 Bytes
Versions: 4
Compression:
Stored size: 564 Bytes
Contents
require 'rmagick' require 'test/unit' require 'test/unit/ui/console/testrunner' class PolaroidOptionsUT < Test::Unit::TestCase def setup @options = Magick::Image::PolaroidOptions.new end def test_shadow_color assert_nothing_raised { @options.shadow_color = "gray50" } @options.freeze assert_raise(FreezeError) { @options.shadow_color = "gray50" } end def test_border_color assert_nothing_raised { @options.border_color = "gray50" } @options.freeze assert_raise(FreezeError) { @options.border_color = "gray50" } end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rmagick-4.1.0.rc2 | test/PolaroidOptions.rb |
rmagick-4.1.0.rc1 | test/PolaroidOptions.rb |
rmagick-4.0.0 | test/PolaroidOptions.rb |
rmagick-3.2.0 | test/PolaroidOptions.rb |