Sha256: 36dcfac6bd30b006a63f07020abb9996141078e7b4d39c0fa9e5625949784e59
Contents?: true
Size: 384 Bytes
Versions: 18
Compression:
Stored size: 384 Bytes
Contents
require 'test/unit' require 'axlsx.rb' class TestFill < Test::Unit::TestCase def setup @item = Axlsx::Fill.new Axlsx::PatternFill.new end def teardown end def test_initialiation assert(@item.fill_type.is_a?(Axlsx::PatternFill)) assert_raise(ArgumentError) { Axlsx::Fill.new } assert_nothing_raised { Axlsx::Fill.new(Axlsx::GradientFill.new) } end end
Version data entries
18 entries across 18 versions & 1 rubygems