Sha256: 0ba76324e4c11069b803c10f5d0e858aece3f1db5ed4a2560427bd428adbd1a5

Contents?: true

Size: 986 Bytes

Versions: 5

Compression:

Stored size: 986 Bytes

Contents

# -----------------------------------------------------------------------------
#
# Tests for the simple cartesian 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 SimpleCartesian # :nodoc:
      class TestMultiPolygon < ::Test::Unit::TestCase # :nodoc:
        def create_factories
          @factory = ::RGeo::Cartesian.simple_factory
          @lenient_factory = ::RGeo::Cartesian.simple_factory(lenient_multi_polygon_assertions: true)
        end

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

        undef_method :test_creation_wrong_type
        undef_method :test_creation_overlapping
        undef_method :test_creation_connected
        undef_method :test_equal
        undef_method :test_not_equal
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

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