Sha256: 666797bbd8f7a6e1ee2a7e3fc979dda73f7cb4b061e3a95b193e741102fc092d

Contents?: true

Size: 367 Bytes

Versions: 24

Compression:

Stored size: 367 Bytes

Contents

# -*- coding: utf-8 -*-
require 'helper'
require 'stringio'

class TC_BigWorkbook < Test::Unit::TestCase

  def test_big_workbook_saves
    workbook = Workbook.new(StringIO.new)
    4.times do
      worksheet = workbook.add_worksheet
      500.times {|i| worksheet.write_row(i, 0, [rand(10000).to_s])}
    end

    assert_nothing_raised { workbook.close }
  end

end

Version data entries

24 entries across 24 versions & 3 rubygems

Version Path
writeexcel-1.0.5 test/test_big_workbook.rb
writeexcel-1.0.4 test/test_big_workbook.rb
writeexcel-1.0.3 test/test_big_workbook.rb
writeexcel-1.0.2 test/test_big_workbook.rb
writeexcel-1.0.1 test/test_big_workbook.rb
writeexcel-1.0.0 test/test_big_workbook.rb
writeexcel-0.6.19 test/test_big_workbook.rb
writeexcel-0.6.18 test/test_big_workbook.rb
writeexcel-0.6.17 test/test_big_workbook.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/writeexcel-0.6.16/test/test_big_workbook.rb
writeexcel-0.6.16 test/test_big_workbook.rb
writeexcel-0.6.15 test/test_big_workbook.rb
writeexcel-0.6.14 test/test_big_workbook.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/writeexcel-0.6.13/test/test_big_workbook.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/writeexcel-0.6.13/test/test_big_workbook.rb
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/writeexcel-0.6.13/test/test_big_workbook.rb
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/writeexcel-0.6.13/test/test_big_workbook.rb
sunrise-cms-0.3.0.rc vendor/bundle/ruby/1.9.1/gems/writeexcel-0.6.13/test/test_big_workbook.rb
writeexcel-0.6.13 test/test_big_workbook.rb
ricardoo27-writeexcel-0.6.12.2 test/test_big_workbook.rb