Sha256: fd31780569bfb54a778399582962d2b6ec721a948421eae44b2690c6da5be331
Contents?: true
Size: 1.8 KB
Versions: 5
Compression:
Stored size: 1.8 KB
Contents
# -*- coding: utf-8 -*- require 'helper' class TestRegressionSetColumn10 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_set_column10 @xlsx = 'set_column01.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet worksheet.set_column_pixels( "A:A", 1) worksheet.set_column_pixels( "B:B", 2) worksheet.set_column_pixels( "C:C", 3) worksheet.set_column_pixels( "D:D", 4) worksheet.set_column_pixels( "E:E", 5) worksheet.set_column_pixels( "F:F", 6) worksheet.set_column_pixels( "G:G", 7) worksheet.set_column_pixels( "H:H", 8) worksheet.set_column_pixels( "I:I", 9) worksheet.set_column_pixels( "J:J", 10) worksheet.set_column_pixels( "K:K", 11) worksheet.set_column_pixels( "L:L", 12) worksheet.set_column_pixels( "M:M", 13) worksheet.set_column_pixels( "N:N", 14) worksheet.set_column_pixels( "O:O", 15) worksheet.set_column_pixels( "P:P", 16) worksheet.set_column_pixels( "Q:Q", 17) worksheet.set_column_pixels( "R:R", 18) worksheet.set_column_pixels( "S:S", 19) worksheet.set_column_pixels( "T:T", 20) worksheet.set_column_pixels( "U:U", 21) worksheet.set_column_pixels( "V:V", 22) worksheet.set_column_pixels( "W:W", 23) worksheet.set_column_pixels( "X:X", 24) worksheet.set_column_pixels( "Y:Y", 25) worksheet.set_column_pixels( "Z:Z", 26) worksheet.set_column_pixels( "AB:AB", 65) worksheet.set_column_pixels( "AC:AC", 66) worksheet.set_column_pixels( "AD:AD", 67) worksheet.set_column_pixels( "AE:AE", 68) worksheet.set_column_pixels( "AF:AF", 69) worksheet.set_column_pixels( "AG:AG", 70) workbook.close compare_for_regression end end
Version data entries
5 entries across 5 versions & 1 rubygems