Skip to content

Commit

Permalink
Repair vector tests
Browse files Browse the repository at this point in the history
Signed-off-by: jpolchlo <jpolchlopek@azavea.com>
  • Loading branch information
jpolchlo committed Jul 10, 2019
1 parent 585bc74 commit 08363c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Expand Up @@ -16,6 +16,7 @@

package geotrellis.vector.check.jts

import geotrellis.vector.GeomFactory
import org.locationtech.jts.geom._
import org.scalacheck.Gen._
import org.scalacheck._
Expand Down
Expand Up @@ -16,6 +16,7 @@

package geotrellis.vector.check.jts

import geotrellis.vector.GeomFactory
import org.locationtech.jts.geom._

import org.scalacheck._
Expand Down Expand Up @@ -66,7 +67,7 @@ object PointCheck extends Properties("Point") {
}

property("within[MultiPoint]") = forAll { (p: Point) =>
val mp = factory.createMultiPointFromCoords(
val mp = GeomFactory.factory.createMultiPointFromCoords(
Array(new Coordinate(p.getX, p.getY), new Coordinate(p.getX + 5.0, p.getY + 5.0))
)
p.within(mp) == true
Expand Down

0 comments on commit 08363c4

Please sign in to comment.