Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/trekhleb/javascript-algorithms
/ Comparator.test.js
File
Comparator.test.js
src/utils/comparator/__test__/Comparator.test.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
Comparator from
'../Comparator'
;
2
3
describe(
'Comparator'
, () => {
4
it(
'should compare with default comparator function'
, () => {
Callers
nothing calls this directly
Calls
6
equal
Method · 0.80
lessThan
Method · 0.80
lessThanOrEqual
Method · 0.80
greaterThan
Method · 0.80
greaterThanOrEqual
Method · 0.80
reverse
Method · 0.45
Tested by
no test coverage detected