Skip to content

Commit

Permalink
crash test
Browse files Browse the repository at this point in the history
  • Loading branch information
Fil committed Jul 6, 2020
1 parent f2133c7 commit 702ea2c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/cover-test.js
Expand Up @@ -77,3 +77,8 @@ tape("quadtree.cover(x, y) does not wrap the root node if it is undefined", func
test.equal(q.copy().cover(-3, -3).root(), undefined);
test.end();
});

tape("quadtree.cover() does not crash on huge values", function(test) {
d3_quadtree.quadtree([[1e23, 0]]);
test.end();
});

0 comments on commit 702ea2c

Please sign in to comment.