Skip to content

Modify some of the examples to make them deterministic#2091

Merged
Jonarw merged 1 commit intooxyplot:developfrom
Jonarw:deterministic-examples
Jul 21, 2024
Merged

Modify some of the examples to make them deterministic#2091
Jonarw merged 1 commit intooxyplot:developfrom
Jonarw:deterministic-examples

Conversation

@Jonarw
Copy link
Member

@Jonarw Jonarw commented Jul 20, 2024

During testing for #2090 I found it quite annoying that some examples give different output each time they are run, as they use either a Random without explicit seed or DateTime.Now. This leads to failed test on every test run. Therefore I decided to modify the handful of tests where this is the case.

Checklist

  • I have included examples or tests
  • I have updated the change log
  • I am listed in the CONTRIBUTORS file
  • I have cleaned up the commit history (use rebase and squash)

Changes proposed in this pull request:

  • Make all Examples in ExampleLibrary deterministic

@oxyplot/admins

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