Sha256: cc006faccead26d3946daf92e4a1dc1ae6254661c5ad2e5c5419d92bda3c5c26

Contents?: true

Size: 836 Bytes

Versions: 7

Compression:

Stored size: 836 Bytes

Contents

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

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

  def teardown
    @tempfile.close(true)
  end

  def test_image26
    @xlsx = 'image26.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

    worksheet.insert_image('B2',
                           File.join(@test_dir, 'regression', 'images/black_72.png'))
    worksheet.insert_image('B8',
                           File.join(@test_dir, 'regression', 'images/black_96.png'))
    worksheet.insert_image('B13',
                           File.join(@test_dir, 'regression', 'images/black_150.png'))
    worksheet.insert_image('B17',
                           File.join(@test_dir, 'regression', 'images/black_300.png'))

    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_image26.rb
write_xlsx-0.85.11 test/regression/test_image26.rb
write_xlsx-0.85.10 test/regression/test_image26.rb
write_xlsx-0.85.9 test/regression/test_image26.rb
write_xlsx-0.85.8 test/regression/test_image26.rb
write_xlsx-0.85.7 test/regression/test_image26.rb
write_xlsx-0.85.6 test/regression/test_image26.rb