Sha256: 35227db37504305a3ecec53e50ac530c02043dd86606669d35056c6b33f5a1a7

Contents?: true

Size: 459 Bytes

Versions: 1

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

1 entries across 1 versions & 1 rubygems

Version Path
xlsxwriter-0.2.2 test/test_types.rb