Skip to content

Commit

Permalink
Update unit test data
Browse files Browse the repository at this point in the history
  • Loading branch information
Zikoat committed Aug 11, 2024
1 parent f26dbdb commit 74a73ff
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Field.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,12 @@ function fieldsAreEqual(field1: Field, field2: Field): void {
// }

test("SeddedRandom should get the same random number every time", () => {
const wow = seedrandom("shit");
const wow = seedrandom("test");
const randomNumber = wow();
assert(randomNumber === 0.4459846419098659);
assert(
randomNumber === 0.8722025543160253,
"Randomnumber was " + randomNumber,
);
});

test("Chunk should be instantiated", () => {
Expand Down

0 comments on commit 74a73ff

Please sign in to comment.