Sha256: c2781971359ef7beb5b0e4220b8720ca947fe34c44eeeb21bb2f55032b124530
Contents?: true
Size: 617 Bytes
Versions: 1
Compression:
Stored size: 617 Bytes
Contents
# -*- coding: utf-8 -*- require 'helper' class TestRegressionImage33 < Test::Unit::TestCase def setup setup_dir_var end def teardown @tempfile.close(true) end def test_image33 @xlsx = 'image33.xlsx' workbook = WriteXLSX.new(@io) worksheet = workbook.add_worksheet worksheet.set_column('D:D', 3.86) worksheet.set_column('E:E', 1.43) worksheet.set_row(7, 7.5) worksheet.set_row(8, 9.75) 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_image33.rb |