Geom2 package working with new extent structure

This commit is contained in:
Tim Schaub
2013-09-03 17:52:18 -06:00
parent e6b395e2ee
commit 3faa035de3
4 changed files with 16 additions and 17 deletions

View File

@@ -189,7 +189,7 @@ describe('ol.geom2.LineStringCollection', function() {
describe('getExtent', function() {
it('returns the expected extent', function() {
expect(lsc.getExtent()).to.eql([0, 2, 1, 3]);
expect(lsc.getExtent()).to.eql([[0, 1], [2, 3]]);
});
});
@@ -268,7 +268,7 @@ describe('ol.geom2.LineStringCollection', function() {
describe('getExtent', function() {
it('returns the expected value', function() {
expect(lsc.getExtent()).to.eql([0, 8, 1, 9]);
expect(lsc.getExtent()).to.eql([[0, 1], [8, 9]]);
});
});