Sha256: 6c30f67d79a247369522fa568da9361d403ff42c2157a2d72f247e56fd4a3e4f

Contents?: true

Size: 586 Bytes

Versions: 6

Compression:

Stored size: 586 Bytes

Contents

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

6 entries across 6 versions & 1 rubygems

Version Path
xlsxwriter-0.0.6 test/test-set-selection.rb
xlsxwriter-0.0.5 test/test-set-selection.rb
xlsxwriter-0.0.4 test/test-set-selection.rb
xlsxwriter-0.0.4.pre.2 test/test-set-selection.rb
xlsxwriter-0.0.3 test/test-set-selection.rb
xlsxwriter-0.0.2 test/test-set-selection.rb