Sha256: 78a00ba3faf125a6d45265ee2e1d5467bd3eb7704ca04b7abc70879dbd580b18

Contents?: true

Size: 792 Bytes

Versions: 5

Compression:

Stored size: 792 Bytes

Contents

# -----------------------------------------------------------------------------
#
# Tests for the simple mercator multi polygon implementation
#
# -----------------------------------------------------------------------------

require "test/unit"
require "rgeo"

require ::File.expand_path("../common/multi_polygon_tests.rb", ::File.dirname(__FILE__))

module RGeo
  module Tests # :nodoc:
    module SimpleMercator # :nodoc:
      class TestMultiPolygon < ::Test::Unit::TestCase # :nodoc:
        def create_factories
          @factory = ::RGeo::Geographic.simple_mercator_factory
          @lenient_factory = ::RGeo::Geographic.simple_mercator_factory(lenient_multi_polygon_assertions: true)
        end

        include ::RGeo::Tests::Common::MultiPolygonTests
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
rgeo-dschee-0.5.4 test/simple_mercator/multi_polygon_test.rb
rgeo-0.5.3 test/simple_mercator/multi_polygon_test.rb
rgeo-0.5.2 test/simple_mercator/tc_multi_polygon.rb
rgeo-0.5.1 test/simple_mercator/tc_multi_polygon.rb
rgeo-0.5.0 test/simple_mercator/tc_multi_polygon.rb