@kstasi/jest-tolk
Version:
<p align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/tonkite/tonkite/main/assets/logo-dark.svg"> <img alt="tonkite logo" src="https://raw.githubusercontent.com/tonkite/tonkite/main/a
29 lines (28 loc) • 715 B
TypeScript
type BigIntLike = bigint;
declare class IntValueTree {
private lo;
private curr;
private hi;
private fixed;
constructor(start: BigIntLike, fixed: boolean);
getCurrent(): BigIntLike;
private reposition;
private magnitudeGreater;
simplify(): boolean;
complicate(): boolean;
}
type Fixture = BigIntLike;
export declare class IntStrategy {
private bits;
private fixtures;
private edgeWeight;
private fixturesWeight;
private randomWeight;
constructor(bits: number, fixtures?: Fixture[]);
private randomBigInt;
private generateEdgeTree;
private generateFixtureTree;
private generateRandomTree;
generateTree(): IntValueTree;
}
export {};