Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional tests and doc examples #154

Merged
merged 1 commit into from
Jul 31, 2022
Merged

Conversation

lopopolo
Copy link
Member

Add additional tests and doctests which for previously uncovered functions as found by cargo-mutants.

  • Add tests that impl fmt::Display for RecoverRngError does not error and results in non-empty output.
  • Add examples and tests that impl From<u32> for Mt19937GenRand32 behaves the same as Mt19937GenRand32::new.
  • Add examples and tests that impl From<u64> for Mt19937GenRand64 behaves the same as Mt19937GenRand64::new.

Because there are documentation improvements, prepare for v4.1.3 release.

Add additional tests and doctests which for previously uncovered
functions as found by `cargo-mutants`.

- Add tests that `impl fmt::Display for RecoverRngError` does not error
  and results in non-empty output.
- Add examples and tests that `impl From<u32> for Mt19937GenRand32`
  behaves the same as `Mt19937GenRand32::new`.
- Add examples and tests that `impl From<u64> for Mt19937GenRand64`
  behaves the same as `Mt19937GenRand64::new`.

Because there are documentation improvements, prepare for v4.1.3
release.
@lopopolo lopopolo added C-quality Category: Refactoring, cleanup, and quality improvements. C-docs Category: Improvements or additions to documentation. C-bug Category: This is a bug. A-release Area: crates.io releases and version bumps. labels Jul 31, 2022
@lopopolo lopopolo merged commit 27b9dc2 into trunk Jul 31, 2022
@lopopolo lopopolo deleted the lopopolo/mutation-coverage branch July 31, 2022 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-release Area: crates.io releases and version bumps. C-bug Category: This is a bug. C-docs Category: Improvements or additions to documentation. C-quality Category: Refactoring, cleanup, and quality improvements.
Development

Successfully merging this pull request may close these issues.

1 participant