# -*- coding: utf-8 -*- require 'helper' class TestAutofilter00 < Test::Unit::TestCase def setup setup_dir_var end def teardown File.delete(@xlsx) if File.exist?(@xlsx) end def test_autofilter00 @xlsx = 'autofilter00.xlsx' workbook = WriteXLSX.new(@xlsx) worksheet = workbook.add_worksheet data = [] data_lines.split(/\n/).each { |line| data << line.split } worksheet.write('A1', [data]) workbook.close compare_xlsx_for_regression(File.join(@regression_output, @xlsx), @xlsx, nil, {'xl/workbook.xml' => ['