Sha256: c103c447195acc9a74021ed3e3516d5d293f75523f06cff0aa6900dc639a4abb
Contents?: true
Size: 837 Bytes
Versions: 10
Compression:
Stored size: 837 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' class TestRegressionTable04 < Test::Unit::TestCase def setup setup_dir_var end def teardown File.delete(@xlsx) if File.exist?(@xlsx) end def test_table04 @xlsx = 'table04.xlsx' workbook = WriteXLSX.new(@xlsx) worksheet = workbook.add_worksheet # Set the column width to match the taget worksheet. worksheet.set_column('C:F', 10.288) # Add the table. worksheet.add_table('C3:F13') # Add a link to check rId handling. worksheet.write('A1', 'http://perl.com/') # Add comments to check rId handling. worksheet.set_comments_author('John') worksheet.write_comment('H1', 'Test1') worksheet.write_comment('J1', 'Test2') workbook.close compare_xlsx_for_regression(File.join(@regression_output, @xlsx), @xlsx) end end
Version data entries
10 entries across 10 versions & 1 rubygems