Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (15 sloc) 0.545 kB
# -- encoding: utf-8 --
require 'helpers_for_test'
class TestComposite < TestCase
def setup
@data_dir = File.dirname(__FILE__) + '/data'
@filename_test = @data_dir + '/test.jpg'
@mini_exiftool = MiniExiftool.new @filename_test, :composite => false
@mini_exiftool_c = MiniExiftool.new @filename_test
end
def test_composite_tags
assert_equal false, @mini_exiftool.tags.include?('Aperture')
assert_equal true, @mini_exiftool_c.tags.include?('Aperture')
assert_equal 9.5, @mini_exiftool_c['Aperture']
end
end
Jump to Line
Something went wrong with that request. Please try again.