diff --git a/test/spec/ol/geom/flat/closest.test.js b/test/spec/ol/geom/flat/closest.test.js index b35b62bd2f..a6e1d0a973 100644 --- a/test/spec/ol/geom/flat/closest.test.js +++ b/test/spec/ol/geom/flat/closest.test.js @@ -7,7 +7,7 @@ describe('ol.geom.flat.closest', function() { const flatCoordinates = [0, 0, 1, 0, 3, 0, 5, 0, 6, 0, 8, 0, 11, 0]; - describe('ol.geom.flat.closest.getMaxSquaredDelta', function() { + describe('ol.geom.flat.closest.maxSquaredDelta', function() { it('returns the expected value in simple cases', function() { expect(maxSquaredDelta( @@ -16,7 +16,7 @@ describe('ol.geom.flat.closest', function() { }); - describe('ol.geom.flat.closest.getClosestPoint', function() { + describe('ol.geom.flat.closest.assignClosestPoint', function() { it('returns the expected value', function() { const maxDelta = Math.sqrt(maxSquaredDelta( @@ -75,7 +75,7 @@ describe('ol.geom.flat.closest', function() { 847.16, 458.44, 851.38, 462.79, 853.97, 471.15, 866.36, 480.77 ]; - describe('ol.geom.closet.maSquaredDelta', function() { + describe('ol.geom.closest.maxSquaredDelta', function() { it('returns the expected value', function() { expect(maxSquaredDelta( @@ -85,7 +85,7 @@ describe('ol.geom.flat.closest', function() { }); - describe('ol.geom.flat.closest.getClosestPoint', function() { + describe('ol.geom.flat.closest.assignClosestPoint', function() { it('returns the expected value', function() { const maxDelta = Math.sqrt(maxSquaredDelta( @@ -118,7 +118,7 @@ describe('ol.geom.flat.closest', function() { const flatCoordinates = [0, 0, 10, -10, 2, 2, 30, -20]; const stride = 4; - describe('ol.geom.flat.closest.getClosestPoint', function() { + describe('ol.geom.flat.closest.assignClosestPoint', function() { it('interpolates M coordinates', function() { const maxDelta = Math.sqrt(maxSquaredDelta( diff --git a/test/spec/ol/geom/flat/deflate.test.js b/test/spec/ol/geom/flat/deflate.test.js index a7f34e2f91..0395610176 100644 --- a/test/spec/ol/geom/flat/deflate.test.js +++ b/test/spec/ol/geom/flat/deflate.test.js @@ -3,7 +3,7 @@ import {deflateCoordinates, deflateCoordinatesArray} from '../../../../../src/ol describe('ol.geom.flat.deflate', function() { - describe('ol.geom.flat.deflate.coordinates', function() { + describe('ol.geom.flat.deflate.deflateCoordinates', function() { let flatCoordinates; beforeEach(function() { @@ -19,7 +19,7 @@ describe('ol.geom.flat.deflate', function() { }); - describe('ol.geom.flat.deflate.coordinatess', function() { + describe('ol.geom.flat.deflate.deflateCoordinatesArray', function() { let flatCoordinates; beforeEach(function() { diff --git a/test/spec/ol/geom/flat/inflate.test.js b/test/spec/ol/geom/flat/inflate.test.js index 356f5b87a2..a1e46931c8 100644 --- a/test/spec/ol/geom/flat/inflate.test.js +++ b/test/spec/ol/geom/flat/inflate.test.js @@ -3,7 +3,7 @@ import {inflateCoordinates, inflateCoordinatesArray} from '../../../../../src/ol describe('ol.geom.flat.inflate', function() { - describe('ol.geom.flat.inflate.coordinates', function() { + describe('ol.geom.flat.inflate.inflateCoordinates', function() { it('inflates coordinates', function() { const coordinates = inflateCoordinates([1, 2, 3, 4], 0, 4, 2); @@ -12,7 +12,7 @@ describe('ol.geom.flat.inflate', function() { }); - describe('ol.geom.flat.inflate.coordinatess', function() { + describe('ol.geom.flat.inflate.inflateCoordinatesArray', function() { it('inflates arrays of coordinates', function() { const coordinatess = inflateCoordinatesArray( diff --git a/test/spec/ol/geom/flat/interpolate.test.js b/test/spec/ol/geom/flat/interpolate.test.js index ae65f9e7e6..b0ee7434bc 100644 --- a/test/spec/ol/geom/flat/interpolate.test.js +++ b/test/spec/ol/geom/flat/interpolate.test.js @@ -3,7 +3,7 @@ import {interpolatePoint} from '../../../../../src/ol/geom/flat/interpolate.js'; describe('ol.geom.flat.interpolate', function() { - describe('ol.geom.flat.interpolate.lineString', function() { + describe('ol.geom.flat.interpolate.interpolatePoint', function() { it('returns the expected value for single points', function() { const flatCoordinates = [0, 1]; diff --git a/test/spec/ol/geom/flat/intersectsextent.test.js b/test/spec/ol/geom/flat/intersectsextent.test.js index 5daa17edcc..0e7927fadb 100644 --- a/test/spec/ol/geom/flat/intersectsextent.test.js +++ b/test/spec/ol/geom/flat/intersectsextent.test.js @@ -3,7 +3,7 @@ import {intersectsLinearRing, intersectsLineString} from '../../../../../src/ol/ describe('ol.geom.flat.intersectsextent', function() { - describe('ol.geom.flat.intersectsextent.lineString', function() { + describe('ol.geom.flat.intersectsextent.intersectsLineString', function() { let flatCoordinates; beforeEach(function() { flatCoordinates = [0, 0, 1, 1, 2, 2]; @@ -57,7 +57,7 @@ describe('ol.geom.flat.intersectsextent', function() { }); }); - describe('ol.geom.flat.intersectsextent.linearRing', function() { + describe('ol.geom.flat.intersectsextent.intersectsLinearRing', function() { let flatCoordinates; beforeEach(function() { flatCoordinates = [0, 0, 1, 1, 2, 0, 1, -1, 0, 0]; diff --git a/test/spec/ol/geom/flat/length.test.js b/test/spec/ol/geom/flat/length.test.js index 030608b545..ff5720385a 100644 --- a/test/spec/ol/geom/flat/length.test.js +++ b/test/spec/ol/geom/flat/length.test.js @@ -3,7 +3,7 @@ import {lineStringLength, linearRingLength} from '../../../../../src/ol/geom/fla describe('ol.geom.flat.length', function() { - describe('ol.geom.flat.length.lineString', function() { + describe('ol.geom.flat.length.lineStringLength', function() { describe('stride = 2', function() { const flatCoords = [0, 0, 1, 0, 1, 1, 0, 1]; @@ -66,7 +66,7 @@ describe('ol.geom.flat.length', function() { }); }); - describe('ol.geom.flat.length.linearRing', function() { + describe('ol.geom.flat.length.linearRingLength', function() { it('calculates the total length of a simple linearRing', function() { const flatCoords = [0, 0, 1, 0, 1, 1, 0, 1]; diff --git a/test/spec/ol/geom/flat/orient.test.js b/test/spec/ol/geom/flat/orient.test.js index 6dd173317a..610e741008 100644 --- a/test/spec/ol/geom/flat/orient.test.js +++ b/test/spec/ol/geom/flat/orient.test.js @@ -4,7 +4,7 @@ import {linearRingIsClockwise, linearRingIsOriented, describe('ol.geom.flat.orient', function() { - describe('ol.geom.flat.orient.linearRingIsClockwise()', function() { + describe('ol.geom.flat.orient.linearRingIsClockwise', function() { it('identifies clockwise rings', function() { const flatCoordinates = [0, 1, 1, 4, 4, 3, 3, 0]; @@ -22,7 +22,7 @@ describe('ol.geom.flat.orient', function() { }); - describe('ol.geom.flat.orient.linearRingsAreOriented()', function() { + describe('ol.geom.flat.orient.linearRingIsOriented', function() { const oriented = linearRingIsOriented; const rightCoords = [ @@ -49,7 +49,7 @@ describe('ol.geom.flat.orient', function() { }); - describe('ol.geom.flat.orient.linearRingssAreOriented()', function() { + describe('ol.geom.flat.orient.linearRingsAreOriented', function() { const oriented = linearRingsAreOriented; const rightCoords = [ @@ -80,7 +80,7 @@ describe('ol.geom.flat.orient', function() { }); - describe('ol.geom.flat.orient.orientLinearRings()', function() { + describe('ol.geom.flat.orient.orientLinearRings', function() { const orient = orientLinearRings; const rightCoords = [ @@ -117,7 +117,7 @@ describe('ol.geom.flat.orient', function() { }); - describe('ol.geom.flat.orient.orientLinearRingss()', function() { + describe('ol.geom.flat.orient.orientLinearRingsArray', function() { const orient = orientLinearRingsArray; const rightCoords = [ diff --git a/test/spec/ol/geom/flat/straightchunk.test.js b/test/spec/ol/geom/flat/straightchunk.test.js index 7b58017117..3283665741 100644 --- a/test/spec/ol/geom/flat/straightchunk.test.js +++ b/test/spec/ol/geom/flat/straightchunk.test.js @@ -3,7 +3,7 @@ import {matchingChunk} from '../../../../../src/ol/geom/flat/straightchunk.js'; describe('ol.geom.flat.straightchunk', function() { - describe('ol.geom.flat.straightchunk.lineString', function() { + describe('ol.geom.flat.straightchunk.matchingChunk', function() { describe('single segment with stride == 3', function() { const flatCoords = [0, 0, 42, 1, 1, 42]; diff --git a/test/spec/ol/geom/flat/textpath.test.js b/test/spec/ol/geom/flat/textpath.test.js index 302f312b05..b0e3581ae5 100644 --- a/test/spec/ol/geom/flat/textpath.test.js +++ b/test/spec/ol/geom/flat/textpath.test.js @@ -1,7 +1,7 @@ import {drawTextOnPath} from '../../../../../src/ol/geom/flat/textpath.js'; import {lineStringLength} from '../../../../../src/ol/geom/flat/length.js'; -describe('textpath', function() { +describe('ol.geom.flat.drawTextOnPath', function() { const horizontal = [0, 0, 100, 0]; const vertical = [0, 0, 0, 100];