Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
assert from
"assert"
;
2
import
{ascending, bisector} from
"../src/index.js"
;
3
4
it(
"bisector(comparator).left(array, value) returns the index of an exact match"
, () => {
Callers
nothing calls this directly
Calls
2
bisector
Function · 0.90
box
Function · 0.70
Tested by
no test coverage detected