Sha256: 4c0ccdabfef89c2b8f89714b29b94c3265b288a0880fdcb20af16573a5a9e199

Contents?: true

Size: 377 Bytes

Versions: 7

Compression:

Stored size: 377 Bytes

Contents

require 'test/unit'
require 'axlsx.rb'

class TestFont < Test::Unit::TestCase

  def setup
    @item = Axlsx::Font.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_font.rb~
axlsx-1.0.6 test/stylesheet/tc_font.rb~
axlsx-1.0.5 test/stylesheet/tc_font.rb~
axlsx-1.0.4 test/stylesheet/tc_font.rb~
axlsx-1.0.3 test/stylesheet/tc_font.rb~
axlsx-1.0.1 test/stylesheet/tc_font.rb~
axlsx-1.0.0 test/stylesheet/tc_font.rb~