update test descriptions to match export paths

This commit is contained in:
raiyni
2018-02-13 09:42:55 -06:00
parent b2d920bbf1
commit 378b73150a
9 changed files with 21 additions and 21 deletions

View File

@@ -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(

View File

@@ -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() {

View File

@@ -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(

View File

@@ -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];

View File

@@ -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];

View File

@@ -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];

View File

@@ -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 = [

View File

@@ -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];

View File

@@ -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];