Sha256: e7a00c9b5b6e4f920c82eea7d38195c9e00df9563146b478be7715b2d05fa5d8

Contents?: true

Size: 487 Bytes

Versions: 7

Compression:

Stored size: 487 Bytes

Contents

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

class TestRegressionLandscape01 < Test::Unit::TestCase
  def setup
    setup_dir_var
  end

  def teardown
    @tempfile.close(true)
  end

  def test_landscape01
    @xlsx = 'landscape01.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

    worksheet.write(0, 0, 'Foo')
    worksheet.set_landscape
    worksheet.paper = 9

    worksheet.vertical_dpi = 200

    workbook.close
    compare_for_regression
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
write_xlsx-0.86.0 test/regression/test_landscape01.rb
write_xlsx-0.85.11 test/regression/test_landscape01.rb
write_xlsx-0.85.10 test/regression/test_landscape01.rb
write_xlsx-0.85.9 test/regression/test_landscape01.rb
write_xlsx-0.85.8 test/regression/test_landscape01.rb
write_xlsx-0.85.7 test/regression/test_landscape01.rb
write_xlsx-0.85.6 test/regression/test_landscape01.rb