Skip to content

Commit

Permalink
Merge pull request rust-random#1228 from cuishuang/master
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
vks authored Apr 20, 2022
2 parents a8474f7 + 13193fc commit 367cf50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rand_distr/tests/value_stability.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ fn test_samples<F: Debug + ApproxEq, D: Distribution<F>>(
}

#[test]
fn binominal_stability() {
fn binomial_stability() {
// We have multiple code paths: np < 10, p > 0.5
test_samples(353, Binomial::new(2, 0.7).unwrap(), &[1, 1, 2, 1]);
test_samples(353, Binomial::new(20, 0.3).unwrap(), &[7, 7, 5, 7]);
Expand Down

0 comments on commit 367cf50

Please sign in to comment.