Sha256: f00b96462fa41401b35a0d8ba9a6bcae50714db88c81dfe3bd8b90f7d5f569e0

Contents?: true

Size: 619 Bytes

Versions: 8

Compression:

Stored size: 619 Bytes

Contents

# frozen_string_literal: true

require_relative './xlsx-func-testcase'

class TestRepeat < XlsxWriterTestCase
  test 'repeat05' do |wb, t|
    t.ignore_elements = { 'xl/worksheets/sheet1.xml' => [ '<pageMargins' ],
                          'xl/worksheets/sheet3.xml' => [ '<pageMargins' ] }
    wb.add_worksheet do |ws|
      ws.paper = 9
      ws.vertical_dpi = 200
      ws.repeat_rows(0, 0)
      ws.write_string(0, 'A', 'Foo', nil)
    end

    wb.add_worksheet

    wb.add_worksheet do |ws|
      ws.paper = 9
      ws.vertical_dpi = 200
      ws.repeat_rows(2, 3)
      ws.repeat_columns(1, 5)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

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