Punctuated

This commit is contained in:
Tim Schaub
2013-01-23 22:18:00 -07:00
parent afb9add911
commit 3ccfaebcfc

View File

@@ -59,7 +59,7 @@ describe('ol.Extent', function() {
it('takes arbitrary function', function() {
var transformFn = function(coordinate) {
return new ol.Coordinate(-coordinate.x, -coordinate.y);
}
};
var sourceExtent = new ol.Extent(-15, -30, 45, 60);
var destinationExtent = sourceExtent.transform(transformFn);
expect(destinationExtent).not.toBeUndefined();