Skip to content

Commit

Permalink
not an iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
Fil authored and mbostock committed Oct 1, 2021
1 parent f090568 commit 93fbbbd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/rank-test.js
Expand Up @@ -16,7 +16,6 @@ it("rank(dates) returns the rank of Dates", () => {

it("rank(iterator) accepts an iterator", () => {
assert.deepStrictEqual(rank(new Set(["B", "C", "A"])), Float64Array.of(1, 2, 0));
assert.deepStrictEqual(rank({length: 3}, (_, i) => i), Float64Array.of(0, 1, 2));
});

it("rank(undefineds) ranks undefined as NaN", () => {
Expand Down

0 comments on commit 93fbbbd

Please sign in to comment.