MCPcopy
hub / github.com/witheve/Eve / test

Method test

src/runtime/providers/sort.ts:100–107  ·  view source on GitHub ↗
(prefix)

Source from the content-addressed store, hash-verified

98 }
99
100 test(prefix) {
101 let {group, value} = this.resolveAggregate(prefix);
102 let resultGroup = this.aggregateResults[JSON.stringify(group)];
103 if(resultGroup !== undefined) {
104 let returns = resolve(this.returns, prefix, this.resolvedReturns);
105 return returns[0] === resultGroup[JSON.stringify(value)];
106 }
107 }
108
109 getProposal(multiIndex, proposed, prefix) {
110 let {group} = this.resolveAggregate(prefix);

Callers

nothing calls this directly

Calls 2

resolveAggregateMethod · 0.95
resolveFunction · 0.90

Tested by

no test coverage detected