Some checks failed
CI/CD Pipeline / unit-tests (push) Failing after 1m16s
CI/CD Pipeline / integration-tests (push) Failing after 2m32s
CI/CD Pipeline / lint (push) Successful in 5m22s
CI/CD Pipeline / e2e-tests (push) Has been skipped
CI/CD Pipeline / build (push) Has been skipped
22 lines
795 B
TypeScript
22 lines
795 B
TypeScript
import { FunctionCov, RangeCov, ScriptCov } from "./types";
|
|
/**
|
|
* Compares two script coverages.
|
|
*
|
|
* The result corresponds to the comparison of their `url` value (alphabetical sort).
|
|
*/
|
|
export declare function compareScriptCovs(a: Readonly<ScriptCov>, b: Readonly<ScriptCov>): number;
|
|
/**
|
|
* Compares two function coverages.
|
|
*
|
|
* The result corresponds to the comparison of the root ranges.
|
|
*/
|
|
export declare function compareFunctionCovs(a: Readonly<FunctionCov>, b: Readonly<FunctionCov>): number;
|
|
/**
|
|
* Compares two range coverages.
|
|
*
|
|
* The ranges are first ordered by ascending `startOffset` and then by
|
|
* descending `endOffset`.
|
|
* This corresponds to a pre-order tree traversal.
|
|
*/
|
|
export declare function compareRangeCovs(a: Readonly<RangeCov>, b: Readonly<RangeCov>): number;
|