MCPcopy
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

1import Comparator from '../Comparator';
2
3describe('Comparator', () => {
4 it('should compare with default comparator function', () => {

Callers

nothing calls this directly

Calls 6

equalMethod · 0.80
lessThanMethod · 0.80
lessThanOrEqualMethod · 0.80
greaterThanMethod · 0.80
greaterThanOrEqualMethod · 0.80
reverseMethod · 0.45

Tested by

no test coverage detected