Sha256: 728de9f39075b139a0d4166bef2ae946057374ee8dafd6f3d7e5aee82c291600

Contents?: true

Size: 798 Bytes

Versions: 7

Compression:

Stored size: 798 Bytes

Contents

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

class TestRegressionSelection02 < Test::Unit::TestCase
  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

7 entries across 7 versions & 1 rubygems

Version Path
write_xlsx-0.86.0 test/regression/test_selection02.rb
write_xlsx-0.85.11 test/regression/test_selection02.rb
write_xlsx-0.85.10 test/regression/test_selection02.rb
write_xlsx-0.85.9 test/regression/test_selection02.rb
write_xlsx-0.85.8 test/regression/test_selection02.rb
write_xlsx-0.85.7 test/regression/test_selection02.rb
write_xlsx-0.85.6 test/regression/test_selection02.rb