UNPKG

covertable

Version:

Efficient TypeScript library for pairwise testing, generating minimal covering arrays with constraint support.

20 lines (19 loc) 1.06 kB
import hash from "./sorters/hash"; import random from "./sorters/random"; import greedy from "./criteria/greedy"; import simple from "./criteria/simple"; import { FactorsType, OptionsType, SuggestRowType, DictType, ListType, Expression, ComparisonExpression, LogicalExpression, Comparer } from "./types"; import { Controller, ControllerStats } from "./controller"; import { NeverMatch, UncoveredPair } from "./exceptions"; declare const makeAsync: <T extends FactorsType>(factors: T, options?: OptionsType<T>) => Generator<SuggestRowType<T>, void, unknown>; declare const make: <T extends FactorsType>(factors: T, options?: OptionsType<T>) => SuggestRowType<T>[]; declare const sorters: { hash: typeof hash; random: typeof random; }; declare const criteria: { greedy: typeof greedy; simple: typeof simple; }; export { make, makeAsync, sorters, criteria, Controller, NeverMatch, }; export type { OptionsType, SuggestRowType, DictType, ListType, Expression, ComparisonExpression, LogicalExpression, Comparer, UncoveredPair, ControllerStats, };