# -*- coding: utf-8 -*- require 'helper' class TestRegressionImage01 < Test::Unit::TestCase def setup setup_dir_var end def teardown @tempfile.close(true) end def test_image01 @xlsx = 'image01.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet worksheet.insert_image('E9', 'test/regression/images/red.png') workbook.close compare_for_regression end end