Sha256: 8b355913e9d1ac3088d0c32a622c5531b0e50d4f3552b531f77a391c78502490

Contents?: true

Size: 376 Bytes

Versions: 4

Compression:

Stored size: 376 Bytes

Contents

require 'tc_helper.rb'

class TestValAxisData < Test::Unit::TestCase

  def setup
    p = Axlsx::Package.new
    @ws = p.workbook.add_worksheet
    chart = @ws.drawing.add_chart Axlsx::Line3DChart
    @series = chart.add_series :data=>[0,1,2]
  end

  def test_initialize
    assert(@series.data.is_a?Axlsx::SimpleTypedList)
    assert_equal(@series.data, [0,1,2])
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
axlsx-1.1.3 test/drawing/tc_val_axis_data.rb
axlsx-1.1.2 test/drawing/tc_val_axis_data.rb
axlsx-1.1.1 test/drawing/tc_val_axis_data.rb
axlsx-1.1.0 test/drawing/tc_val_axis_data.rb