gpx/tests/gpx10_test.rb
Doug Fales 5aa64f2c3a Updates courtesy of Gaku Ueda:
* Adding support for GPX 1.0 as well as 1.1 (since libxml namespace parsing
   was hard-coded to 1.1. previously).
 * Adding a GPX 1.0 unit test file.
 * Miscellaneous updates to make it work with Ruby 1.8.6.
2007-11-30 06:26:26 +00:00

13 lines
311 B
Ruby

require 'test/unit'
require File.dirname(__FILE__) + '/../lib/gpx'
class TestGPX10 < Test::Unit::TestCase
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