diff --git a/src/java/util/PriorityQueue.js b/src/java/util/PriorityQueue.js index 97c06a77..0a18b75d 100644 --- a/src/java/util/PriorityQueue.js +++ b/src/java/util/PriorityQueue.js @@ -1,4 +1,4 @@ -import ArrayList from '../../../../java/util/ArrayList.js' +import ArrayList from './ArrayList.js' export default class PriorityQueue { constructor() { PriorityQueue.constructor_.apply(this, arguments) diff --git a/test/manual/issues/516.js b/test/manual/issues/516.js new file mode 100644 index 00000000..176bef22 --- /dev/null +++ b/test/manual/issues/516.js @@ -0,0 +1,14 @@ +import expect from 'expect.js' + +import WKTReader from '../../../src/org/locationtech/jts/io/WKTReader.js' +import MaximumInscribedCircle from '../../../src/org/locationtech/jts/algorithm/construct/MaximumInscribedCircle.js' + +describe('Test (#516)', function() { + it('MaximumInscribedCircle basic test', function() { + const reader = new WKTReader() + const input = 'POLYGON((10 10, 100 10, 100 100, 10 100, 10 10))' + const p = reader.read(input) + const result = MaximumInscribedCircle.getCenter(p, 1) + expect(result).to.equal(false) + }) +})