Sha256: fefd1e787934f83662f42da895b0d7eff2e55dbbde1c733cf47ab6e04082c030

Contents?: true

Size: 475 Bytes

Versions: 1

Compression:

Stored size: 475 Bytes

Contents

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

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

  def teardown
    @tempfile.close(true)
  end

  def test_image30
    @xlsx = 'image30.xlsx'
    workbook  = WriteXLSX.new(@io)
    worksheet = workbook.add_worksheet

    worksheet.insert_image(
      'E9',
      File.join(@test_dir, 'regression', 'images/red.png'),
      -2, -1
    )

    workbook.close
    compare_for_regression
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
write_xlsx-0.86.0 test/regression/test_image30.rb