Sha256: ec3cc8fda858b9f0a0692c3a4c3305b61fb06f7c84587a09df0cc5b5e3a77f1f

Contents?: true

Size: 532 Bytes

Versions: 5

Compression:

Stored size: 532 Bytes

Contents

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

class TestRegressionDynamicArray01 < Minitest::Test
  def setup
    setup_dir_var
  end

  def teardown
    @tempfile.close(true)
  end

  def test_dynamic_array01
    @xlsx = 'dynamic_array01.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

    worksheet.write_dynamic_array_formula('A1:A1', '=AVERAGE(TIMEVALUE(B1:B2))', nil, 0)
    worksheet.write('B1', '12:00')
    worksheet.write('B2', '12:00')

    workbook.close
    compare_for_regression
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
write_xlsx-1.09.4 test/regression/test_dynamic_array01.rb
write_xlsx-1.09.3 test/regression/test_dynamic_array01.rb
write_xlsx-1.09.2 test/regression/test_dynamic_array01.rb
write_xlsx-1.09.1 test/regression/test_dynamic_array01.rb
write_xlsx-1.09.0 test/regression/test_dynamic_array01.rb