Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 20 lines (15 sloc) 0.545 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
# -- 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
Something went wrong with that request. Please try again.