Sha256: ebc14601150b5f4ae089c7613624ef14ecddc042415e408038583948f89f8b5a

Contents?: true

Size: 792 Bytes

Versions: 19

Compression:

Stored size: 792 Bytes

Contents

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

class TestRegressionSelection02 < Minitest::Test
  def setup
    setup_dir_var
  end

  def teardown
    @tempfile.close(true)
  end

  def test_selection02
    @xlsx = 'selection02.xlsx'
    workbook   = WriteXLSX.new(@io)
    worksheet1 = workbook.add_worksheet
    worksheet2 = workbook.add_worksheet
    worksheet3 = workbook.add_worksheet
    worksheet4 = workbook.add_worksheet
    worksheet5 = workbook.add_worksheet
    worksheet6 = workbook.add_worksheet

    worksheet1.set_selection(3, 2)
    worksheet2.set_selection(3, 2, 6, 6)
    worksheet3.set_selection(6, 6, 3, 2)
    worksheet4.set_selection('C4')
    worksheet5.set_selection('C4:G7')
    worksheet6.set_selection('G7:C4')

    workbook.close
    compare_for_regression
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
write_xlsx-1.09.4 test/regression/test_selection02.rb
write_xlsx-1.09.3 test/regression/test_selection02.rb
write_xlsx-1.09.2 test/regression/test_selection02.rb
write_xlsx-1.09.1 test/regression/test_selection02.rb
write_xlsx-1.09.0 test/regression/test_selection02.rb
write_xlsx-1.08.2 test/regression/test_selection02.rb
write_xlsx-1.08.1 test/regression/test_selection02.rb
write_xlsx-1.08.0 test/regression/test_selection02.rb
write_xlsx-1.07.0 test/regression/test_selection02.rb
write_xlsx-1.04.0 test/regression/test_selection02.rb
write_xlsx-1.02.0 test/regression/test_selection02.rb
write_xlsx-1.01.0 test/regression/test_selection02.rb
write_xlsx-1.00.0 test/regression/test_selection02.rb
write_xlsx-0.99.0 test/regression/test_selection02.rb
write_xlsx-0.97.0 test/regression/test_selection02.rb
write_xlsx-0.90.0 test/regression/test_selection02.rb
write_xlsx-0.89.0 test/regression/test_selection02.rb
write_xlsx-0.88.0 test/regression/test_selection02.rb
write_xlsx-0.87.0 test/regression/test_selection02.rb