Sha256: 8084379a00a80a8943d3457f0c127591c563721b9aaec1fc36d13d5537d8bc42

Contents?: true

Size: 1.24 KB

Versions: 10

Compression:

Stored size: 1.24 KB

Contents

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

class TestRegressionImage49 < Minitest::Test
  def setup
    setup_dir_var
  end

  def teardown
    @tempfile.close(true)
  end

  def test_image49
    @xlsx = 'image49.xlsx'
    workbook   = WriteXLSX.new(@io)
    worksheet1 = workbook.add_worksheet
    worksheet2 = workbook.add_worksheet
    worksheet3 = workbook.add_worksheet

    worksheet1.insert_image('A1', 'test/regression/images/blue.png')
    worksheet1.insert_image('B3', 'test/regression/images/red.jpg')
    worksheet1.insert_image('D5', 'test/regression/images/yellow.jpg')
    worksheet1.insert_image('F9', 'test/regression/images/grey.png')

    worksheet2.insert_image('A1', 'test/regression/images/blue.png')
    worksheet2.insert_image('B3', 'test/regression/images/red.jpg')
    worksheet2.insert_image('D5', 'test/regression/images/yellow.jpg')
    worksheet2.insert_image('F9', 'test/regression/images/grey.png')

    worksheet3.insert_image('A1', 'test/regression/images/blue.png')
    worksheet3.insert_image('B3', 'test/regression/images/red.jpg')
    worksheet3.insert_image('D5', 'test/regression/images/yellow.jpg')
    worksheet3.insert_image('F9', 'test/regression/images/grey.png')

    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_image49.rb
write_xlsx-1.09.3 test/regression/test_image49.rb
write_xlsx-1.09.2 test/regression/test_image49.rb
write_xlsx-1.09.1 test/regression/test_image49.rb
write_xlsx-1.09.0 test/regression/test_image49.rb
write_xlsx-1.08.2 test/regression/test_image49.rb
write_xlsx-1.08.1 test/regression/test_image49.rb
write_xlsx-1.08.0 test/regression/test_image49.rb
write_xlsx-1.07.0 test/regression/test_image49.rb
write_xlsx-1.04.0 test/regression/test_image49.rb