Sha256: c22eb943d6a3fa122213dbbea396b425ad2cafdd140ece57af5d9ce22094a856
Contents?: true
Size: 861 Bytes
Versions: 4
Compression:
Stored size: 861 Bytes
Contents
require 'test/unit' require 'voruby/resources/sia/sia_v0_7' include VORuby::Resources::SIA::V0_7 class SimpleImageAccessTest < Test::Unit::TestCase def setup assert_nothing_raised { @res = SimpleImageAccess.load_from_file('test/resources/sia/simple_image_access_v0_7.xml') } end def test_capability assert_equal('Cutout', @res.capability.image_service_type.value) assert_equal(0, @res.capability.max_query_region_size.long) assert_equal(0, @res.capability.max_query_region_size.lat) assert_equal(0, @res.capability.max_image_extent.long) assert_equal(0, @res.capability.max_image_extent.lat) assert_equal(0, @res.capability.max_image_size.lat) assert_equal(0, @res.capability.max_image_size.long) assert_equal(0, @res.capability.max_file_size) assert_equal(0, @res.capability.max_records) end end
Version data entries
4 entries across 4 versions & 1 rubygems