source
stringclasses
1 value
repo
stringlengths
5
63
repo_url
stringlengths
24
82
path
stringlengths
5
167
language
stringclasses
1 value
license
stringclasses
5 values
stars
int64
10
51.4k
ref
stringclasses
23 values
size_bytes
int64
200
258k
text
stringlengths
137
258k
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_layout.rb
Ruby
mit
305
main
310
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestWriteLayout < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_idx expected = '<c:layout/>' result = @chart.__send__('write_layout') assert_equal(expected, result) end end
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_major_gridlines.rb
Ruby
mit
305
main
392
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestWriteMajorGridlines < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_major_gridlines expected = '<c:majorGridlines/>' result = @chart.__send__('write_major_gridlines', Writexlsx::Chart::G...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_tick_lbl_pos.rb
Ruby
mit
305
main
412
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestWriteTickLabelPos < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_tick_label_pos expected = '<c:tickLblPos val="nextTo"/>' @chart.__send__('write_tick_label_pos', 'nextTo') result = ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_marker.rb
Ruby
mit
305
main
490
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestWriteMarker < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_marker expected = '<c:marker><c:symbol val="none"/></c:marker>' @chart.instance_variable_set(:@default_marker, Writexlsx::Char...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_order.rb
Ruby
mit
305
main
320
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestWriteOrder < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_order expected = '<c:order val="0"/>' result = @chart.__send__('write_order', 0) assert_equal(expected, result) end end
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_series_formula.rb
Ruby
mit
305
main
422
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestWriteSeriesFormula < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_series_formula expected = '<c:f>Sheet1!$A$1:$A$5</c:f>' @chart.__send__('write_series_formula', 'Sheet1!$A$1:$A$5') ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_label_offset.rb
Ruby
mit
305
main
348
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestWriteLabelOffset < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_label_offset expected = '<c:lblOffset val="100"/>' result = @chart.__send__('write_label_offset', 100) assert_equal(...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_page_setup.rb
Ruby
mit
305
main
332
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestChartWritePageSetup < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_page_setup expected = '<c:pageSetup/>' result = @chart.__send__('write_page_setup') assert_equal(expected, result...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_plot_vis_only.rb
Ruby
mit
305
main
345
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestWritePlotVisOnly < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_plot_vis_only expected = '<c:plotVisOnly val="1"/>' result = @chart.__send__('write_plot_vis_only') assert_equal(exp...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_orientation.rb
Ruby
mit
305
main
346
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestWriteOrientation < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_orientation expected = '<c:orientation val="minMax"/>' result = @chart.__send__('write_orientation') assert_equal(ex...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_marker_size.rb
Ruby
mit
305
main
336
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestWriteMarkerSize < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_marker_size expected = '<c:size val="3"/>' result = @chart.__send__('write_marker_size', 3) assert_equal(expected, re...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_process_names.rb
Ruby
mit
305
main
673
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestProcessNames < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_process_names_both_nil expected = [nil, nil] result = @chart.__send__('process_names') assert_equal(expected, result) end ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_crosses.rb
Ruby
mit
305
main
344
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestWriteCrosses < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_crosses expected = '<c:crosses val="autoZero"/>' result = @chart.__send__('write_crosses', 'autoZero') assert_equal(expe...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_cross_ax.rb
Ruby
mit
305
main
348
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestWriteCrossAx < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_cross_axis expected = '<c:crossAx val="82642816"/>' result = @chart.__send__('write_cross_axis', 82642816) assert_equal(...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_a_latin.rb
Ruby
mit
305
main
472
# -*- encoding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestWriteALatin < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_a_latin expected = '<a:latin typeface="Arial" pitchFamily="34" charset="0"/>' result = @chart.__send__( 'write_a_lati...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_ax_id.rb
Ruby
mit
305
main
336
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestWriteAxId < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_axis_id expected = '<c:axId val="53850880"/>' result = @chart.__send__('write_axis_id', 53850880) assert_equal(expected, re...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_num_cache.rb
Ruby
mit
305
main
623
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestWriteNumCache < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_num_cache expected = '<c:numCache><c:formatCode>General</c:formatCode><c:ptCount val="5"/><c:pt idx="0"><c:v>1</c:v></c:pt><c:pt...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_idx.rb
Ruby
mit
305
main
312
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestWriteIdx < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_idx expected = '<c:idx val="0"/>' result = @chart.__send__('write_idx', 0) assert_equal(expected, result) end end
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_number_format.rb
Ruby
mit
305
main
1,421
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestWriteNumberFormat < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_number_format axis = Writexlsx::Chart::Axis.new(@chart) axis.num_format = 'General' axis.defaults = { num_format: ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_add_series.rb
Ruby
mit
305
main
7,387
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestAddSeries < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_add_series_only_values series = Writexlsx::Chart::Series.new(@chart) series.instance_variable_set(:@categories, nil) series.instan...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_page_margins.rb
Ruby
mit
305
main
400
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestChartWritePageMargins < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_page_margins expected = '<c:pageMargins b="0.75" l="0.7" r="0.7" t="0.75" header="0.3" footer="0.3"/>' result = @cha...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_label_align.rb
Ruby
mit
305
main
345
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestWriteLabelAlign < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_label_align expected = '<c:lblAlgn val="ctr"/>' result = @chart.__send__('write_label_align', 'ctr') assert_equal(exp...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_pt.rb
Ruby
mit
305
main
379
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestWritePt < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_pt expected = '<c:pt idx="0"><c:v>1</c:v></c:pt>' @chart.__send__('write_pt', 0, 1) result = @chart.instance_variable_get(:@wr...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_pt_count.rb
Ruby
mit
305
main
380
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestWritePtCount < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_pt_count expected = '<c:ptCount val="5"/>' @chart.__send__('write_pt_count', 5) result = @chart.instance_variable_get(:@w...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_auto.rb
Ruby
mit
305
main
316
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestWriteAuto < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_auto expected = '<c:auto val="1"/>' result = @chart.__send__('write_auto', 1) assert_equal(expected, result) end end
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_format_code.rb
Ruby
mit
305
main
413
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestWriteFormatCode < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_format_code expected = '<c:formatCode>General</c:formatCode>' @chart.__send__('write_format_code', 'General') result =...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/chart/test_write_style.rb
Ruby
mit
305
main
1,073
# -*- coding: utf-8 -*- require 'helper' require 'write_xlsx/chart' class TestWriteStyle < Minitest::Test def setup @chart = Writexlsx::Chart.new('Bar') end def test_write_style_1 expected = '<c:style val="1"/>' @chart.set_style(1) @chart.__send__('write_style') result = @chart.instance_var...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_simple03.rb
Ruby
mit
305
main
818
# -*- coding: utf-8 -*- require 'helper' class TestRegressionSimple03 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_simple03 @xlsx = 'simple03.xlsx' workbook = WriteXLSX.new(@io) worksheet1 = workbook.add_worksheet worksheet2 = workboo...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_data_labels06.rb
Ruby
mit
305
main
1,122
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartDataLabels06 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_data_labels06 @xlsx = 'chart_data_labels06.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_wor...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_embed_image07.rb
Ruby
mit
305
main
768
# -*- coding: utf-8 -*- # # Tests the output of Excel::Writer::XLSX against Excel generated files. # # Copyright 2000-2023, John McNamara, jmcnamara@cpan.org # # Conver to ruby by Hideo NAKAMURA, nakamura.hideo@gmail.com # require 'helper' class TestRegressionEmbedImage07 < Minitest::Test def setup setup_dir_v...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_set_start_page01.rb
Ruby
mit
305
main
585
# -*- coding: utf-8 -*- require 'helper' class TestRegressionSetStartPage01 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_set_start_page01 @xlsx = 'set_start_page01.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_format09.rb
Ruby
mit
305
main
1,163
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartFormat09 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_format09 @xlsx = 'chart_format09.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_table33.rb
Ruby
mit
305
main
2,016
# -*- coding: utf-8 -*- require 'helper' class TestRegressionTable33 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) if @tempfile end def test_table33 @xlsx = 'table33.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet format ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_properties02.rb
Ruby
mit
305
main
430
# -*- coding: utf-8 -*- require 'helper' class TestRegressionProperties02 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_properties02 @xlsx = 'properties02.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet workboo...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_hyperlink11.rb
Ruby
mit
305
main
601
# -*- coding: utf-8 -*- require 'helper' class TestRegressionHyperlink11 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_hyperlink11 @xlsx = 'hyperlink11.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet format =...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_scatter12.rb
Ruby
mit
305
main
1,065
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartScatter12 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_scatter12 @xlsx = 'chart_scatter12.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_axis37.rb
Ruby
mit
305
main
1,069
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartAxis37 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_axis37 @xlsx = 'chart_axis37.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet chart...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_tutorial01.rb
Ruby
mit
305
main
809
# -*- coding: utf-8 -*- require 'helper' class TestRegressionTutorial01 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_tutorial01 @xlsx = 'tutorial01.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet expenses = [ ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_bar11.rb
Ruby
mit
305
main
1,794
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartBar11 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_bar11 @xlsx = 'chart_bar11.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet chart1 = ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_quote_name03.rb
Ruby
mit
305
main
882
# -*- coding: utf-8 -*- require 'helper' class TestRegressionQuoteName03 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_quote_name03 @xlsx = 'quote_name03.xlsx' workbook = WriteXLSX.new(@io) data = [ [1, 2, 3, 4, 5], [2, 4, ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_comment02.rb
Ruby
mit
305
main
578
# -*- coding: utf-8 -*- require 'helper' class TestRegressionComment02 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_comment02 @xlsx = 'comment02.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet worksheet.write(...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_utf8_05.rb
Ruby
mit
305
main
540
# -*- coding: utf-8 -*- require 'helper' class TestRegressionUtf8_05 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_utf8_05 @xlsx = 'utf8_05.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet worksheet.write('A1', ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_axis18.rb
Ruby
mit
305
main
1,019
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartAxis18 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_axis18 @xlsx = 'chart_axis18.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet chart...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_object_position20.rb
Ruby
mit
305
main
592
# -*- coding: utf-8 -*- require 'helper' class TestRegressionObjectPosition20 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_object_position20 @xlsx = 'object_position20.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_workshee...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_header_image17.rb
Ruby
mit
305
main
973
# -*- coding: utf-8 -*- require 'helper' class TestRegressionHeaderImage17 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_header_image17 @xlsx = 'header_image17.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet wo...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_image14.rb
Ruby
mit
305
main
586
# -*- coding: utf-8 -*- require 'helper' class TestRegressionImage14 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_image14 @xlsx = 'image14.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet worksheet.set_row(1, 4...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_axis47.rb
Ruby
mit
305
main
1,167
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartAxis47 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_axis47 @xlsx = 'chart_axis47.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet chart ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_print_across01.rb
Ruby
mit
305
main
717
# -*- coding: utf-8 -*- require 'helper' class TestRegressionPrintAcross01 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_print_across01 @xlsx = 'print_across01.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_print_options02.rb
Ruby
mit
305
main
706
# -*- coding: utf-8 -*- require 'helper' class TestPrintOptions02 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_print_options02 @xlsx = 'print_options02.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet worksheet...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_autofit11.rb
Ruby
mit
305
main
734
# -*- coding: utf-8 -*- # # Tests the output of Excel::Writer::XLSX against Excel generated files. # # Copyright 2000-2023, John McNamara, jmcnamara@cpan.org # convert to Ruby by Hideo NAKAMURA, nakamura.hideo@gmail.coom # require 'helper' class TestRegressionAutofit11 < Minitest::Test def setup setup_dir_var ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_data_labels29.rb
Ruby
mit
305
main
997
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartDataLabels29 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_data_labels29 @xlsx = 'chart_data_labels29.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_wor...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_format26.rb
Ruby
mit
305
main
1,066
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartFormat26 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_format26 @xlsx = 'chart_format26.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet cha...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_rich_string05.rb
Ruby
mit
305
main
671
# -*- coding: utf-8 -*- require 'helper' class TestRegressionRichString05 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_rich_string05 @xlsx = 'rich_string05.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet works...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_cond_format04.rb
Ruby
mit
305
main
1,380
# -*- coding: utf-8 -*- require 'helper' class TestRegressionCondFormat04 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_cond_format04 @xlsx = 'cond_format04.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet forma...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_merge_range05.rb
Ruby
mit
305
main
462
# -*- coding: utf-8 -*- require 'helper' class TestMergeRange05 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_merge_range05 @xlsx = 'merge_range05.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet format = work...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_autofit06.rb
Ruby
mit
305
main
661
# -*- coding: utf-8 -*- # # Tests the output of Excel::Writer::XLSX against Excel generated files. # # Copyright 2000-2023, John McNamara, jmcnamara@cpan.org # convert to Ruby by Hideo NAKAMURA, nakamura.hideo@gmail.coom # require 'helper' class TestRegressionAutofit06 < Minitest::Test def setup setup_dir_var ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_crossing03.rb
Ruby
mit
305
main
1,168
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartCrossing03 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_crossing03 @xlsx = 'chart_crossing03.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_image03.rb
Ruby
mit
305
main
418
# -*- coding: utf-8 -*- require 'helper' class TestRegressionImage03 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_image03 @xlsx = 'image03.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet worksheet.insert_image...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_escapes03.rb
Ruby
mit
305
main
678
# -*- coding: utf-8 -*- require 'helper' class TestRegressionEscapes03 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_escapes03 @xlsx = 'escapes03.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet bold = wor...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_axis50.rb
Ruby
mit
305
main
1,002
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartAxis50 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_axis50 @xlsx = 'chart_axis50.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet chart ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_defined_name04.rb
Ruby
mit
305
main
2,047
# -*- coding: utf-8 -*- require 'helper' require 'stringio' class TestRegressionDefinedName04 < Minitest::Test def setup setup_dir_var end def teardown File.delete(@xlsx) if @xlsx && File.exist?(@xlsx) end def test_defined_name_raise workbook = WriteXLSX.new(StringIO.new) worksheet = workb...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_gap01.rb
Ruby
mit
305
main
997
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartGap01 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_gap01 @xlsx = 'chart_gap01.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet chart = ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_outline04.rb
Ruby
mit
305
main
1,420
# -*- coding: utf-8 -*- require 'helper' class TestRegressionOutline04 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_outline04 @xlsx = 'outline04.xlsx' workbook = WriteXLSX.new(@io) worksheet4 = workbook.add_worksheet('Outline levels')...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_protect05.rb
Ruby
mit
305
main
766
# -*- coding: utf-8 -*- require 'helper' class TestRegressionProtect05 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_protect05 @xlsx = 'protect05.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet unlocked = workb...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_chartarea04.rb
Ruby
mit
305
main
1,814
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartChartArea04 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_chartarea04 @xlsx = 'chart_chartarea04.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_workshee...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_combined03.rb
Ruby
mit
305
main
1,070
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartCombined03 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_combined03 @xlsx = 'chart_combined03.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_rich_string12.rb
Ruby
mit
305
main
756
# -*- coding: utf-8 -*- require 'helper' class TestRegressionRichString12 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_rich_string12 @xlsx = 'rich_string12.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet works...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_size04.rb
Ruby
mit
305
main
941
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartSize04 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_size04 @xlsx = 'chart_size04.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet chart ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_cond_format13.rb
Ruby
mit
305
main
1,125
# -*- coding: utf-8 -*- require 'helper' class TestRegressionCondFormat13 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_cond_format13 @xlsx = 'cond_format04.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet # We ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_hyperlink29.rb
Ruby
mit
305
main
617
# -*- coding: utf-8 -*- require 'helper' class TestRegressionHyperlink29 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) if @tempfile end def test_hyperlink29 @xlsx = 'hyperlink29.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_pattern05.rb
Ruby
mit
305
main
2,071
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartPattern05 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_pattern05 @xlsx = 'chart_pattern05.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_layout05.rb
Ruby
mit
305
main
1,326
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartLayout05 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_layout05 @xlsx = 'chart_layout05.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet cha...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_formula_results01.rb
Ruby
mit
305
main
1,339
# -*- coding: utf-8 -*- require 'helper' class TestRegressionFormulaResults01 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_formula_results01 @xlsx = 'formula_results01.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_workshee...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_doughnut04.rb
Ruby
mit
305
main
706
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartDoughnut04 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_doughnut04 @xlsx = 'chart_doughnut04.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_format31.rb
Ruby
mit
305
main
1,385
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartFormat31 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_format31 @xlsx = 'chart_format31.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet cha...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_hyperlink06.rb
Ruby
mit
305
main
698
# -*- coding: utf-8 -*- require 'helper' class TestRegressionHyperlink06 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_hyperlink06 @xlsx = 'hyperlink06.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet # Turn off...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_table24.rb
Ruby
mit
305
main
554
# -*- coding: utf-8 -*- require 'helper' class TestRegressionTable24 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) if @tempfile end def test_table24 @xlsx = 'table24.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet # Set the...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_data_labels11.rb
Ruby
mit
305
main
753
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartDataLabels11 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_data_labels11 @xlsx = 'chart_data_labels11.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_wor...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_autofilter08.rb
Ruby
mit
305
main
3,042
# -*- coding: utf-8 -*- require 'helper' class TestRegressionAutofilter08 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_autofilter08 @xlsx = 'autofilter08.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet # Extra...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_page_breaks06.rb
Ruby
mit
305
main
755
# -*- coding: utf-8 -*- require 'helper' class TestBreaks06 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_page_breaks06 @xlsx = 'page_breaks06.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet worksheet.set_h_pag...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_embed_image10.rb
Ruby
mit
305
main
681
# -*- coding: utf-8 -*- # # Tests the output of Excel::Writer::XLSX against Excel generated files. # # Copyright 2000-2023, John McNamara, jmcnamara@cpan.org # # Conver to ruby by Hideo NAKAMURA, nakamura.hideo@gmail.com # require 'helper' class TestRegressionEmbedImage10 < Minitest::Test def setup setup_dir_v...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_print_area05.rb
Ruby
mit
305
main
703
# -*- coding: utf-8 -*- require 'helper' class TestPrintArea05 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_print_area05 @xlsx = 'print_area05.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet worksheet.print_ar...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_shape_connect03.rb
Ruby
mit
305
main
1,976
# -*- coding: utf-8 -*- require 'helper' class TestRegressionShapeConnect03 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_shape_connect03 @xlsx = 'shape_connect03.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_set_column03.rb
Ruby
mit
305
main
659
# -*- coding: utf-8 -*- require 'helper' class TestRegressionSetColumn03 < Minitest::Test def setup setup_dir_var end def test_set_column03 @xlsx = 'set_column03.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet bold = workbook.add_format(bold: 1) italic = w...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_font07.rb
Ruby
mit
305
main
975
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartFont07 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_font07 @xlsx = 'chart_font07.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet chart ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_comment15.rb
Ruby
mit
305
main
583
# -*- coding: utf-8 -*- require 'helper' class TestRegressionComment15 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_comment15 @xlsx = 'comment15.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet format1 = workb...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_bar06.rb
Ruby
mit
305
main
1,123
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartBar06 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_bar06 @xlsx = 'chart_bar06.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet chart ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_title01.rb
Ruby
mit
305
main
841
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartTitle01 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_title01 @xlsx = 'chart_title01.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet chart ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_axis20.rb
Ruby
mit
305
main
1,067
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartAxis20 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_axis20 @xlsx = 'chart_axis20.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet chart...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_scatter05.rb
Ruby
mit
305
main
1,019
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartScatter05 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_scatter05 @xlsx = 'chart_scatter05.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_object_position18.rb
Ruby
mit
305
main
589
# -*- coding: utf-8 -*- require 'helper' class TestRegressionObjectPosition18 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_object_position18 @xlsx = 'object_position18.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_workshee...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_page_view01.rb
Ruby
mit
305
main
699
# -*- coding: utf-8 -*- require 'helper' class TestRegressionPageView01 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_page_view01 @xlsx = 'page_view01.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet workshe...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_shared_strings02.rb
Ruby
mit
305
main
825
# -*- coding: utf-8 -*- require 'helper' class TestRegressionSharedStrings02 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_shared_strings02 @xlsx = 'shared_strings02.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_workshe...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_shape_connect02.rb
Ruby
mit
305
main
1,186
# -*- coding: utf-8 -*- require 'helper' class TestRegressionShapeConnect02 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_shape_connect02 @xlsx = 'shape_connect02.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet ...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_embed_image11.rb
Ruby
mit
305
main
699
# -*- coding: utf-8 -*- # # Tests the output of Excel::Writer::XLSX against Excel generated files. # # Copyright 2000-2023, John McNamara, jmcnamara@cpan.org # # Conver to ruby by Hideo NAKAMURA, nakamura.hideo@gmail.com # require 'helper' class TestRegressionEmbedImage11 < Minitest::Test def setup setup_dir_v...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_print_area04.rb
Ruby
mit
305
main
697
# -*- coding: utf-8 -*- require 'helper' class TestPrintArea04 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_print_area04 @xlsx = 'print_area04.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet worksheet.print_ar...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_autofilter09.rb
Ruby
mit
305
main
3,047
# -*- coding: utf-8 -*- require 'helper' class TestRegressionAutofilter09 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_autofilter09 @xlsx = 'autofilter09.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet # Extra...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_data_labels10.rb
Ruby
mit
305
main
1,085
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartDataLabels10 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_data_labels10 @xlsx = 'chart_data_labels10.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_wor...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_chart_stock01.rb
Ruby
mit
305
main
1,575
# -*- coding: utf-8 -*- require 'helper' class TestRegressionChartStock01 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_chart_stock01 @xlsx = 'chart_stock01.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet ch...
github
cxn03651/write_xlsx
https://github.com/cxn03651/write_xlsx
test/regression/test_table25.rb
Ruby
mit
305
main
537
# -*- coding: utf-8 -*- require 'helper' class TestRegressionTable25 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) if @tempfile end def test_table25 @xlsx = 'table25.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet # Set the...