Sha256: 43623d387d22d05238924e0bd16fff22b667048aa99fe549f9f9e1e3aebb2e63

Contents?: true

Size: 615 Bytes

Versions: 1

Compression:

Stored size: 615 Bytes

Contents

# frozen_string_literal: true

require_relative './xlsx_func_testcase'

class TestSetSelection < XlsxWriterTestCase
  test 'set_selection02' do |wb, t|
    t.ignore_elements = { 'xl/worksheets/sheet1.xml' => ['<pageMargins'] }
    wb.add_worksheet { |ws| ws.set_selection(3,   2, 3,   2) }
    wb.add_worksheet { |ws| ws.set_selection(3,   2, 6,   6) }
    wb.add_worksheet { |ws| ws.set_selection(6,   6, 3,   2) }
    wb.add_worksheet { |ws| ws.set_selection(3, 'C', 3, 'C') }
    wb.add_worksheet { |ws| ws.set_selection(3, 'C', 6, 'G') }
    wb.add_worksheet { |ws| ws.set_selection(6, 'G', 3, 'C') }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xlsxwriter-0.2.2 test/test_set_selection.rb