Sha256: e84833bce952d3f60fdf5ac96eb21fdcde1b09a202a59401bab106bda9b0708b

Contents?: true

Size: 400 Bytes

Versions: 7

Compression:

Stored size: 400 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(:type=>:linear)) }
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
axlsx-1.0.7 test/stylesheet/tc_fill.rb~
axlsx-1.0.6 test/stylesheet/tc_fill.rb~
axlsx-1.0.5 test/stylesheet/tc_fill.rb~
axlsx-1.0.4 test/stylesheet/tc_fill.rb~
axlsx-1.0.3 test/stylesheet/tc_fill.rb~
axlsx-1.0.1 test/stylesheet/tc_fill.rb~
axlsx-1.0.0 test/stylesheet/tc_fill.rb~