Sha256: ea22c1910d5b4a39711d06d65f9e27cbe7c7c3e62f8b7f20c4f6d3ce6db216b1
Contents?: true
Size: 700 Bytes
Versions: 14
Compression:
Stored size: 700 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' class TestRegressionArrayFormula03 < Minitest::Test def setup setup_dir_var end def teardown @tempfile.close(true) end def test_array_formula03 @xlsx = 'array_formula03.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet data = [0, 0, 0] worksheet.write_col('B1', data) worksheet.write_col('C1', data) worksheet.write_formula( 'A1', '{=SUM(B1:C1*B2:C2)}', nil, 0 ) workbook.close compare_for_regression( [ 'xl/calcChain.xml', '[Content_Types].xml', 'xl/_rels/workbook.xml.rels' ], {'xl/workbook.xml' => ['<workbookView']} ) end end
Version data entries
14 entries across 14 versions & 1 rubygems