Skip to content

Commit

Permalink
Update tests for new PRNG
Browse files Browse the repository at this point in the history
  • Loading branch information
PiOverFour committed Jun 13, 2020
1 parent 27dfb6c commit 0559167
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/tests/specs/ink/Sequence.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe("Sequences", () => {
loadStory("all_sequence_types");

expect(story.ContinueMaximally()).toBe(
"Once: one two\nStopping: one two two two\nDefault: one two two two\nCycle: one two one two\nShuffle: two one one two\nShuffle stopping: one two final final\nShuffle once: two one\n"
"Once: one two\nStopping: one two two two\nDefault: one two two two\nCycle: one two one two\nShuffle: two one two one\nShuffle stopping: two one final final\nShuffle once: two one\n"
);
});
});
4 changes: 2 additions & 2 deletions src/tests/specs/inkjs/Logic.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ describe("Logic", () => {
it("should generate random numbers", () => {
story.ChoosePathString("logic.random");

expect(story.Continue()).toEqual("15\n");
expect(story.Continue()).toEqual("-24\n");
expect(story.Continue()).toEqual("81\n");
expect(story.Continue()).toEqual("8\n");
});
});

0 comments on commit 0559167

Please sign in to comment.