covertable
Version:
Efficient TypeScript library for pairwise testing, generating minimal covering arrays with constraint support.
21 lines (20 loc) • 782 B
TypeScript
import type { PictFactorsType, PictModelIssue, SourceLine } from './types';
export declare function splitValues(input: string): string[];
export declare function stripQuotes(s: string): string;
export declare function parseValue(raw: string, existing: Record<string, (string | number)[]>, aliases: Map<string, string>): {
values: (string | number)[];
isNegative: boolean;
weight: number;
};
export declare function isParameterLine(trimmed: string): boolean;
export declare function parseParameters(lines: SourceLine[]): {
factors: PictFactorsType;
aliases: Map<string, string>;
negatives: Map<string, Set<string | number>>;
weights: {
[factorKey: string]: {
[index: number]: number;
};
};
issues: PictModelIssue[];
};