Sha256: d2df77beec0d19349ec35a2da0f7740993143e92242bf2c77becac760de33046

Contents?: true

Size: 591 Bytes

Versions: 10

Compression:

Stored size: 591 Bytes

Contents

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

class TestRegressionObjectPosition18 < Minitest::Test
  def setup
    setup_dir_var
  end

  def teardown
    @tempfile.close(true)
  end

  def test_object_position18
    @xlsx = 'object_position18.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

    worksheet.set_column(1, 1, 5, nil)

    # Same as testcase test_object_position12 except with an offset.
    worksheet.insert_image(
      'B9', 'test/regression/images/red.png',
      :x_offset => 168
    )

    workbook.close
    compare_for_regression
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
write_xlsx-1.09.4 test/regression/test_object_position18.rb
write_xlsx-1.09.3 test/regression/test_object_position18.rb
write_xlsx-1.09.2 test/regression/test_object_position18.rb
write_xlsx-1.09.1 test/regression/test_object_position18.rb
write_xlsx-1.09.0 test/regression/test_object_position18.rb
write_xlsx-1.08.2 test/regression/test_object_position18.rb
write_xlsx-1.08.1 test/regression/test_object_position18.rb
write_xlsx-1.08.0 test/regression/test_object_position18.rb
write_xlsx-1.07.0 test/regression/test_object_position18.rb
write_xlsx-1.04.0 test/regression/test_object_position18.rb