Skip to content

Allow optional seed to be passed sampleOne#90

Open
RGBboy wants to merge 2 commits into
leebyron:masterfrom
RGBboy:optional-seed-sample-one
Open

Allow optional seed to be passed sampleOne#90
RGBboy wants to merge 2 commits into
leebyron:masterfrom
RGBboy:optional-seed-sample-one

Conversation

@RGBboy
Copy link
Copy Markdown

@RGBboy RGBboy commented Jun 2, 2018

This PR allows sample one to be used deterministically. This is useful to create generators that can then be used with snapshot testing.

  • update org.clojure/test.check to 0.10.0-alpha3;
  • Add support for passing seed to sampleOne;

Please let me know if there is anything that I missed to get this in.

@majnu-campact
Copy link
Copy Markdown

+1 This would be great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants