Sha256: 16a9902a75b886293c96d848f52d5787e97597995466457531840919d867f2b8

Contents?: true

Size: 614 Bytes

Versions: 9

Compression:

Stored size: 614 Bytes

Contents

# -*- coding: utf-8 -*-
require 'helper'

class TestRegressionArrayFormula04 < Minitest::Test
  def setup
    setup_dir_var
  end

  def teardown
    @tempfile.close(true)
  end

  def test_array_formula04
    @xlsx = 'array_formula04.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

    worksheet.write_array_formula(
      'A1:A3',
      '{=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

9 entries across 9 versions & 1 rubygems

Version Path
write_xlsx-1.09.4 test/regression/test_array_formula04.rb
write_xlsx-1.09.3 test/regression/test_array_formula04.rb
write_xlsx-1.09.2 test/regression/test_array_formula04.rb
write_xlsx-1.09.1 test/regression/test_array_formula04.rb
write_xlsx-1.09.0 test/regression/test_array_formula04.rb
write_xlsx-1.08.2 test/regression/test_array_formula04.rb
write_xlsx-1.08.1 test/regression/test_array_formula04.rb
write_xlsx-1.08.0 test/regression/test_array_formula04.rb
write_xlsx-1.07.0 test/regression/test_array_formula04.rb