Sha256: 30ac87a92a47edd879efd4bd3fae025c04ae0995c062fb34ada7204035519a96

Contents?: true

Size: 459 Bytes

Versions: 8

Compression:

Stored size: 459 Bytes

Contents

# frozen_string_literal: true

require_relative './xlsx-func-testcase'

class TestTypes < XlsxWriterTestCase
  test 'types02' do |wb|
    wb.add_worksheet
      .write_boolean(0, 'A', true,  nil)
      .write_boolean(1, 'A', false, nil)
  end

  test 'types08' do |wb|
    wb.add_format(:bold, bold: true)
      .add_format(:ita, italic: true)
      .add_worksheet
      .write_boolean(0, 'A', true, :bold)
      .write_boolean(1, 'A', false, :ita)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

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