Sha256: d4fe822d52680b0d4c500bd7bf9abc97c7b3d8190c1b6efb1bc6c240a12e0df4

Contents?: true

Size: 617 Bytes

Versions: 8

Compression:

Stored size: 617 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

8 entries across 8 versions & 1 rubygems

Version Path
xlsxwriter-0.2.1.pre.2 test/test-set-selection.rb
xlsxwriter-0.2.1.pre test/test-set-selection.rb
xlsxwriter-0.2.0 test/test-set-selection.rb
xlsxwriter-0.2.0.pre.2 test/test-set-selection.rb
xlsxwriter-0.2.0.pre test/test-set-selection.rb
xlsxwriter-0.1.2.pre test/test-set-selection.rb
xlsxwriter-0.1.1 test/test-set-selection.rb
xlsxwriter-0.1.0 test/test-set-selection.rb