export { production } from "./environment.js"; export const extensive: boolean; export const envSeed: number | null; export class TestCase { /** * @param {string} moduleName * @param {string} testName */ constructor(moduleName: string, testName: string); /** * @type {string} */ moduleName: string; /** * @type {string} */ testName: string; _seed: number | null; _prng: prng.PRNG | null; resetSeed(): void; /** * @type {number} */ get seed(): number; /** * A PRNG for this test case. Use only this PRNG for randomness to make the test case reproducible. * * @type {prng.PRNG} */ get prng(): prng.PRNG; } export const repetitionTime: number; export function run(moduleName: string, name: string, f: (arg0: TestCase) => void | Promise, i: number, numberOfTests: number): Promise; export function describe(description: string, info?: string): void; export function info(info: string): void; export const printDom: (createNode: () => Node) => void; export const printCanvas: (canvas: HTMLCanvasElement, height: number) => void; export function group(description: string, f: (arg0: void) => void): void; export function groupAsync(description: string, f: (arg0: void) => Promise): Promise; export function measureTime(message: string, f: () => void): number; export function measureTimeAsync(message: string, f: () => Promise): Promise; export function compareArrays(as: T[], bs: T[], m?: string | undefined): boolean; export function compareStrings(a: string, b: string, m?: string | undefined): void; export function compareObjects(a: any, b: any, m?: string | undefined): void; export function compare(a: T, b: T, message?: string | null | undefined, customCompare?: ((arg0: any, arg1: T, arg2: T, arg3: string, arg4: any) => boolean) | undefined): boolean; export function assert(condition: boolean, message?: string | null | undefined): true; export function fails(f: () => void): void; export function runTests(tests: { [x: string]: { [x: string]: (arg0: TestCase) => void | Promise; }; }): Promise; export function fail(reason: string): never; export function skip(cond?: boolean): void; import * as prng from "./prng.js"; //# sourceMappingURL=testing.d.ts.map