Sha256: 808b5fad6935fa3cded743b8fd8ff736b00c0bdb82a3a3cbae0e6ceaf6095576

Contents?: true

Size: 620 Bytes

Versions: 7

Compression:

Stored size: 620 Bytes

Contents

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

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

  def test_merge_cells01
    @xlsx = 'merge_cells01.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet
    format    = workbook.add_format(:align => 'center')

    worksheet.set_selection('A4')

    worksheet.merge_range('A1:A2', 'col1', format)
    worksheet.merge_range('B1:B2', 'col2', format)
    worksheet.merge_range('C1:C2', 'col3', format)
    worksheet.merge_range('D1:D2', 'col4', format)

    workbook.close
    compare_for_regression
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
write_xlsx-0.86.0 test/regression/test_merge_cells01.rb
write_xlsx-0.85.11 test/regression/test_merge_cells01.rb
write_xlsx-0.85.10 test/regression/test_merge_cells01.rb
write_xlsx-0.85.9 test/regression/test_merge_cells01.rb
write_xlsx-0.85.8 test/regression/test_merge_cells01.rb
write_xlsx-0.85.7 test/regression/test_merge_cells01.rb
write_xlsx-0.85.6 test/regression/test_merge_cells01.rb