Spare space

This commit is contained in:
Tim Schaub
2013-02-19 07:19:31 -07:00
parent c7569026db
commit 184e1e782c

View File

@@ -34,7 +34,7 @@ describe('ol.structs.RTree', function() {
expect(goog.object.getCount(rTree.find(new ol.Rectangle(5, 5, 6, 6))))
.toBe(0);
});
it('can store thosands of items and find fast', function() {
for (var i = 7; i <= 10000; ++i) {
rTree.put(new ol.Rectangle(Math.random() * -10, Math.random() * -10,