Sha256: a35a3b7b1a75eaff66f75085dae2879ba8d22f83fdcd47607a7526e97ee503c2
Contents?: true
Size: 739 Bytes
Versions: 14
Compression:
Stored size: 739 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' class TestRegressionMergeCells01 < Test::Unit::TestCase def setup setup_dir_var end def teardown File.delete(@xlsx) if File.exist?(@xlsx) end def test_merge_cells01 @xlsx = 'merge_cells01.xlsx' workbook = WriteXLSX.new(@xlsx) 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_xlsx_for_regression(File.join(@regression_output, @xlsx), @xlsx) end end
Version data entries
14 entries across 14 versions & 1 rubygems