test unseen behavior

This commit is contained in:
grimhilt
2023-04-05 14:21:46 +02:00
parent 65631f8e9a
commit 86f321c0a1
5 changed files with 159 additions and 72 deletions

View File

@@ -70,6 +70,6 @@ function randomString(length: number): string {
return result;
}
function randomInt(length: number): number {
export function randomInt(length: number): number {
return parseInt((Math.random() * Math.pow(10, length)).toFixed());
}