Punctuated
This commit is contained in:
@@ -59,7 +59,7 @@ describe('ol.Extent', function() {
|
|||||||
it('takes arbitrary function', function() {
|
it('takes arbitrary function', function() {
|
||||||
var transformFn = function(coordinate) {
|
var transformFn = function(coordinate) {
|
||||||
return new ol.Coordinate(-coordinate.x, -coordinate.y);
|
return new ol.Coordinate(-coordinate.x, -coordinate.y);
|
||||||
}
|
};
|
||||||
var sourceExtent = new ol.Extent(-15, -30, 45, 60);
|
var sourceExtent = new ol.Extent(-15, -30, 45, 60);
|
||||||
var destinationExtent = sourceExtent.transform(transformFn);
|
var destinationExtent = sourceExtent.transform(transformFn);
|
||||||
expect(destinationExtent).not.toBeUndefined();
|
expect(destinationExtent).not.toBeUndefined();
|
||||||
|
|||||||
Reference in New Issue
Block a user