Sha256: 09612ce986a9856cbb3873f0e485e7d27be5c87ac7e21417f7d309ea8e449a52

Contents?: true

Size: 670 Bytes

Versions: 6

Compression:

Stored size: 670 Bytes

Contents

require_relative './xlsx-func-testcase'

class TestMisc < XlsxWriterTestCase
  test 'tab_color01' do |wb|
    wb.add_worksheet
      .write_string(0, 0, 'Foo', nil)
      .tab_color = XlsxWriter::Format::COLOR_RED
  end

  test 'firstsheet01' do |wb|
    wss = 20.times.map { wb.add_worksheet }
    wss[7].set_first_sheet
    wss[19].activate
  end

  test 'hide01' do |wb|
    wb.add_worksheet
    wb.add_worksheet.hide
    wb.add_worksheet
  end

  test 'gh42_01' do |wb|
    wb.add_worksheet.write_string(0, 0, "\xe5\x9b\xbe\x14\xe5\x9b\xbe", nil)
  end

  test 'gh42_02' do |wb|
    wb.add_worksheet.write_string(0, 0, "\xe5\x9b\xbe\x20\xe5\x9b\xbe", nil)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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