Sha256: d6d4e39f826850cfdb8039284947a0d44df5c0cfe36998c4dc640281c3537968

Contents?: true

Size: 394 Bytes

Versions: 12

Compression:

Stored size: 394 Bytes

Contents

require 'test/unit'
require 'axlsx.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

12 entries across 12 versions & 1 rubygems

Version Path
axlsx-1.0.18 test/drawing/tc_val_axis_data.rb
axlsx-1.0.17 test/drawing/tc_val_axis_data.rb
axlsx-1.0.16 test/drawing/tc_val_axis_data.rb
axlsx-1.0.15 test/drawing/tc_val_axis_data.rb
axlsx-1.0.14 test/drawing/tc_val_axis_data.rb
axlsx-1.0.12 test/drawing/tc_val_axis_data.rb
axlsx-1.0.11 test/drawing/tc_val_axis_data.rb
axlsx-1.0.10 test/drawing/tc_val_axis_data.rb
axlsx-1.0.10a test/drawing/tc_val_axis_data.rb
axlsx-1.0.9 test/drawing/tc_val_axis_data.rb
axlsx-1.0.8 test/drawing/tc_val_axis_data.rb
axlsx-1.0.7 test/drawing/tc_val_axis_data.rb