Sha256: 653c88a5944118c81499e439292fe0c8d3998b8197b1c0edbfc66c4bbbda17f7

Contents?: true

Size: 720 Bytes

Versions: 18

Compression:

Stored size: 720 Bytes

Contents

# -*- coding: utf-8 -*-
require 'helper'

class TestRegressionSetColumn09 < Test::Unit::TestCase
  def setup
    setup_dir_var
  end

  def teardown
    File.delete(@xlsx) if File.exist?(@xlsx)
  end

  def test_set_column09
    @xlsx = 'set_column09.xlsx'
    workbook    = WriteXLSX.new(@xlsx)
    worksheet   = workbook.add_worksheet

    # Test the order and overwriting of columns.
    worksheet.set_column('A:A', 100)
    worksheet.set_column('F:H',   8)
    worksheet.set_column('C:D',  12)
    worksheet.set_column('A:A',  10)
    worksheet.set_column('XFD:XFD', 5)
    worksheet.set_column('ZZ:ZZ', 3)

    workbook.close

    compare_xlsx_for_regression(File.join(@regression_output, @xlsx), @xlsx)

  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
write_xlsx-0.85.5 test/regression/test_set_column09.rb
write_xlsx-0.85.4 test/regression/test_set_column09.rb
write_xlsx-0.85.3 test/regression/test_set_column09.rb
write_xlsx-0.85.2 test/regression/test_set_column09.rb
write_xlsx-0.85.1 test/regression/test_set_column09.rb
write_xlsx-0.83.0 test/regression/test_set_column09.rb
write_xlsx-0.81.1 test/regression/test_set_column09.rb
write_xlsx-0.81.0 test/regression/test_set_column09.rb
write_xlsx-0.80.0 test/regression/test_set_column09.rb
write_xlsx-0.79.0 test/regression/test_set_column09.rb
write_xlsx-0.78.0 test/regression/test_set_column09.rb
write_xlsx-0.77.2 test/regression/test_set_column09.rb
write_xlsx-0.77.1 test/regression/test_set_column09.rb
write_xlsx-0.77.0 test/regression/test_set_column09.rb
write_xlsx-0.76.3 test/regression/test_set_column09.rb
write_xlsx-0.76.2 test/regression/test_set_column09.rb
write_xlsx-0.76.1 test/regression/test_set_column09.rb
write_xlsx-0.76.0 test/regression/test_set_column09.rb