Sha256: 512e0f15ec657da2e98f031ec7d620e68544789911044835b6101c02d7518fcf

Contents?: true

Size: 383 Bytes

Versions: 1

Compression:

Stored size: 383 Bytes

Contents

require File.join( File.dirname(__FILE__), "..", "test_helper")

# ralbum
require 'ralbum'
require 'ralbum/photo_tree/photo_file'

class TestPhotoFile < Test::Unit::TestCase
  def test_simple
    photo_filename = File.join($PHOTOTREE_DIRECTORY, "flowers", "IMG_3068.jpg")
    photo_file = PhotoFile.new( photo_filename )
    assert_equal "1024 X 1536", photo_file.geometry
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gf-ralbum-0.0.5 test/ralbum/photo_tree/tc_photo_file.rb