MCPcopy Create free account
hub / github.com/d3/d3-array / bisector-test.js

File bisector-test.js

test/bisector-test.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import assert from "assert";
2import {ascending, bisector} from "../src/index.js";
3
4it("bisector(comparator).left(array, value) returns the index of an exact match", () => {

Callers

nothing calls this directly

Calls 2

bisectorFunction · 0.90
boxFunction · 0.70

Tested by

no test coverage detected