Sha256: 267269e7465cb161987cc4e280a24c0d5dc4d1a9b3c47677e6030f07c510c709

Contents?: true

Size: 558 Bytes

Versions: 8

Compression:

Stored size: 558 Bytes

Contents

# frozen_string_literal: true

require_relative './xlsx-func-testcase'

class TestMergeRange < XlsxWriterTestCase
  test 'merge_range03' do |wb|
    wb.add_format(:f, align: XlsxWriter::Format::ALIGN_CENTER)
    wb.add_worksheet
      .merge_range(1, 1, 1, 2, 'Foo', :f)
      .merge_range('D2:E2',    'Foo', :f)
      .merge_range('F2', 'G2', 'Foo', :f)
  end

  test 'merge_range05' do |wb|
    wb.add_format(:f, align: XlsxWriter::Format::ALIGN_CENTER)
    wb.add_worksheet
      .merge_range('B2:D2', '', :f)
      .write_number(1, 1, 123, :f)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

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