Skip to content

Add unit tests for SimulationHandler - #24

Open
goelakash wants to merge 1 commit into
zachmatson:mainfrom
goelakash:tests/simulation-handler
Open

Add unit tests for SimulationHandler#24
goelakash wants to merge 1 commit into
zachmatson:mainfrom
goelakash:tests/simulation-handler

Conversation

@goelakash

Copy link
Copy Markdown
Contributor

Addresses #8

Summary

  • Adds 18 inline unit tests for core/src/sim/mod.rs
  • Covers: SimulationHandler iteration lifecycle, state counting, end_of_replicate flag, deterministic replay with seeds, mutation tracking toggle, initial lineage setup, multiple markers, zero replicates, InternalSimConfig derived values, mutation type sampling, RNG seeding

Test plan

  • cargo test -p steps_core passes all tests

Tests cover handler iteration lifecycle, state counting, deterministic
replay with seeds, mutation tracking toggle, initial lineage setup,
multiple markers, InternalSimConfig derived values, and mutation type
sampling.
@goelakash

Copy link
Copy Markdown
Contributor Author

@zachmatson this is ready for review when you get a chance.

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.

1 participant