Skip to content

Commit

Permalink
1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickarlt committed Nov 17, 2015
1 parent 9d4d5a5 commit e65fac5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/virtual-grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ test('should create cells when the map zooms in', function (t) {
grid.addTo(map);

grid.on('cellsupdated', function () {
t.ok(grid.cellLeave.getCall(0).args[1].equals(L.point([0,0,1])));
t.ok(grid.cellLeave.getCall(0).args[1].equals(L.point([0, 0, 1])));

t.ok(grid.createCell.getCall(1).args[1].equals(L.point([0,0,2])));
t.ok(grid.createCell.getCall(2).args[1].equals(L.point([1,0,2])));
t.ok(grid.createCell.getCall(3).args[1].equals(L.point([0,1,2])));
t.ok(grid.createCell.getCall(4).args[1].equals(L.point([1,1,2])));
t.ok(grid.createCell.getCall(1).args[1].equals(L.point([0, 0, 2])));
t.ok(grid.createCell.getCall(2).args[1].equals(L.point([1, 0, 2])));
t.ok(grid.createCell.getCall(3).args[1].equals(L.point([0, 1, 2])));
t.ok(grid.createCell.getCall(4).args[1].equals(L.point([1, 1, 2])));

map.remove();
});
Expand Down

0 comments on commit e65fac5

Please sign in to comment.