tests/Bounds: Fixed typos
This commit is contained in:
@@ -495,7 +495,7 @@
|
|||||||
t.ok( ((bounds.left == object.lon) &&
|
t.ok( ((bounds.left == object.lon) &&
|
||||||
(bounds.bottom == object.lat) &&
|
(bounds.bottom == object.lat) &&
|
||||||
(bounds.right == originalBounds.right) &&
|
(bounds.right == originalBounds.right) &&
|
||||||
(bounds.top == originalBounds.top)), "obj lonlat to extends correclty modifies left and bottom");
|
(bounds.top == originalBounds.top)), "obj lonlat to extends correctly modifies left and bottom");
|
||||||
|
|
||||||
//right, top
|
//right, top
|
||||||
bounds = originalBounds.clone();
|
bounds = originalBounds.clone();
|
||||||
@@ -507,7 +507,7 @@
|
|||||||
t.ok( ((bounds.left == originalBounds.left) &&
|
t.ok( ((bounds.left == originalBounds.left) &&
|
||||||
(bounds.bottom == originalBounds.bottom) &&
|
(bounds.bottom == originalBounds.bottom) &&
|
||||||
(bounds.right == object.lon) &&
|
(bounds.right == object.lon) &&
|
||||||
(bounds.top == object.lat)), "obj lonlat to extends correclty modifies right and top");
|
(bounds.top == object.lat)), "obj lonlat to extends correctly modifies right and top");
|
||||||
|
|
||||||
// obj is point
|
// obj is point
|
||||||
|
|
||||||
@@ -521,7 +521,7 @@
|
|||||||
t.ok( ((bounds.left == object.x) &&
|
t.ok( ((bounds.left == object.x) &&
|
||||||
(bounds.bottom == object.y) &&
|
(bounds.bottom == object.y) &&
|
||||||
(bounds.right == originalBounds.right) &&
|
(bounds.right == originalBounds.right) &&
|
||||||
(bounds.top == originalBounds.top)), "obj Point to extends correclty modifies left and bottom");
|
(bounds.top == originalBounds.top)), "obj Point to extends correctly modifies left and bottom");
|
||||||
|
|
||||||
//right, top
|
//right, top
|
||||||
bounds = originalBounds.clone();
|
bounds = originalBounds.clone();
|
||||||
@@ -533,7 +533,7 @@
|
|||||||
t.ok( ((bounds.left == originalBounds.left) &&
|
t.ok( ((bounds.left == originalBounds.left) &&
|
||||||
(bounds.bottom == originalBounds.bottom) &&
|
(bounds.bottom == originalBounds.bottom) &&
|
||||||
(bounds.right == object.x) &&
|
(bounds.right == object.x) &&
|
||||||
(bounds.top == object.y)), "obj Point to extends correclty modifies right and top");
|
(bounds.top == object.y)), "obj Point to extends correctly modifies right and top");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user