@@ -52,7 +52,7 @@ describe('ol.Color', function() {
|
|||||||
expect(c.b).to.be(255);
|
expect(c.b).to.be(255);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('limits 1 to 0-1', function() {
|
it('limits a to 0-1', function() {
|
||||||
var c;
|
var c;
|
||||||
|
|
||||||
// legit a
|
// legit a
|
||||||
|
|||||||
@@ -455,7 +455,7 @@ describe('ol.Object', function() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
describe('case sentivity', function() {
|
describe('case sensitivity', function() {
|
||||||
var listener1, listener2;
|
var listener1, listener2;
|
||||||
|
|
||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ describe('ol.structs.RTree', function() {
|
|||||||
.to.be(0);
|
.to.be(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('can store thosands of items and find fast', function() {
|
it('can store thousands of items and find fast', function() {
|
||||||
for (var i = 7; i <= 10000; ++i) {
|
for (var i = 7; i <= 10000; ++i) {
|
||||||
rTree.put(new ol.Rectangle(Math.random() * -10, Math.random() * -10,
|
rTree.put(new ol.Rectangle(Math.random() * -10, Math.random() * -10,
|
||||||
Math.random() * 10, Math.random() * 10), i);
|
Math.random() * 10, Math.random() * 10), i);
|
||||||
|
|||||||
Reference in New Issue
Block a user