Sha256: 89f03fcd0e46e14c16df01cf59d8ffce5114b696165aa578b2ebf83d54cc0355
Contents?: true
Size: 658 Bytes
Versions: 3
Compression:
Stored size: 658 Bytes
Contents
#!/usr/bin/env ruby # # Copyright (c) 2006, 2007, 2008, 2009, 2010, 2011 - R.W. van 't Veer require 'test/unit' require 'stringio' require 'pp' $:.unshift("#{File.dirname(__FILE__)}/../lib") require 'exifr' include EXIFR def all_test_jpegs Dir[f('*.jpg')] end def all_test_exifs Dir[f('*.exif')] end def all_test_tiffs Dir[f('*.tif')] + all_test_exifs end def f(fname) "#{File.dirname(__FILE__)}/data/#{fname}" end def assert_literally_equal(expected, actual, *args) assert_equal expected.to_s, actual.to_s, *args end class Hash def to_s keys.map{|k| k.to_s}.sort.map{|k| "#{k.inspect} => #{self[k].inspect}" }.join(', ') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
exifr-1.0.6 | tests/test_helper.rb |
exifr-1.0.5 | tests/test_helper.rb |
exifr-1.0.4 | tests/test_helper.rb |