Sha256: abdea28523e888293529bbe6db1a0b1e696de59810f8b6b75262b62c604b0e27

Contents?: true

Size: 498 Bytes

Versions: 12

Compression:

Stored size: 498 Bytes

Contents

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

class TestRegressionImage28 < Minitest::Test
  def setup
    setup_dir_var
  end

  def teardown
    @tempfile.close(true)
  end

  def test_image28
    @xlsx = 'image28.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

    worksheet.insert_image(
      0, 6,
      File.join(@test_dir, 'regression', 'images/red_208.png'),
      :x_offset => 46, :y_offset => 1
    )

    workbook.close
    compare_for_regression
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

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