2007-11-30 07:26:26 +01:00
|
|
|
require 'test/unit'
|
|
|
|
require File.dirname(__FILE__) + '/../lib/gpx'
|
|
|
|
|
2008-02-11 22:13:48 +01:00
|
|
|
class GPX10Test < Test::Unit::TestCase
|
2007-11-30 07:26:26 +01:00
|
|
|
GPX_FILE = File.join(File.dirname(__FILE__), "gpx_files/gpx10.gpx")
|
|
|
|
|
|
|
|
def test_read
|
|
|
|
# make sure we can read a GPX 1.0 file
|
|
|
|
@gpx_file = GPX::GPXFile.new(:gpx_file => GPX_FILE)
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|