Support sampling integers from discrete distributions #155
0.00% of diff hit (target 94.03%)
View this Pull Request on Codecov
0.00% of diff hit (target 94.03%)
Annotations
Check warning on line 92 in src/distribution/bernoulli.rs
codecov / codecov/patch
src/distribution/bernoulli.rs#L90-L92
Added lines #L90 - L92 were not covered by tests
Check warning on line 99 in src/distribution/bernoulli.rs
codecov / codecov/patch
src/distribution/bernoulli.rs#L99
Added line #L99 was not covered by tests
Check warning on line 116 in src/distribution/binomial.rs
codecov / codecov/patch
src/distribution/binomial.rs#L115-L116
Added lines #L115 - L116 were not covered by tests
Check warning on line 119 in src/distribution/binomial.rs
codecov / codecov/patch
src/distribution/binomial.rs#L119
Added line #L119 was not covered by tests
Check warning on line 132 in src/distribution/binomial.rs
codecov / codecov/patch
src/distribution/binomial.rs#L130-L132
Added lines #L130 - L132 were not covered by tests
Check warning on line 131 in src/distribution/categorical.rs
codecov / codecov/patch
src/distribution/categorical.rs#L129-L131
Added lines #L129 - L131 were not covered by tests
Check warning on line 139 in src/distribution/categorical.rs
codecov / codecov/patch
src/distribution/categorical.rs#L137-L139
Added lines #L137 - L139 were not covered by tests
Check warning on line 146 in src/distribution/categorical.rs
codecov / codecov/patch
src/distribution/categorical.rs#L146
Added line #L146 was not covered by tests
Check warning on line 344 in src/distribution/categorical.rs
codecov / codecov/patch
src/distribution/categorical.rs#L344
Added line #L344 was not covered by tests
Check warning on line 346 in src/distribution/categorical.rs
codecov / codecov/patch
src/distribution/categorical.rs#L346
Added line #L346 was not covered by tests
Check warning on line 82 in src/distribution/discrete_uniform.rs
codecov / codecov/patch
src/distribution/discrete_uniform.rs#L80-L82
Added lines #L80 - L82 were not covered by tests
Check warning on line 89 in src/distribution/discrete_uniform.rs
codecov / codecov/patch
src/distribution/discrete_uniform.rs#L89
Added line #L89 was not covered by tests
Check warning on line 96 in src/distribution/geometric.rs
codecov / codecov/patch
src/distribution/geometric.rs#L96
Added line #L96 was not covered by tests
Check warning on line 98 in src/distribution/geometric.rs
codecov / codecov/patch
src/distribution/geometric.rs#L98
Added line #L98 was not covered by tests
Check warning on line 104 in src/distribution/geometric.rs
codecov / codecov/patch
src/distribution/geometric.rs#L100-L104
Added lines #L100 - L104 were not covered by tests
Check warning on line 114 in src/distribution/geometric.rs
codecov / codecov/patch
src/distribution/geometric.rs#L112-L114
Added lines #L112 - L114 were not covered by tests
Check warning on line 151 in src/distribution/hypergeometric.rs
codecov / codecov/patch
src/distribution/hypergeometric.rs#L151
Added line #L151 was not covered by tests
Check warning on line 155 in src/distribution/hypergeometric.rs
codecov / codecov/patch
src/distribution/hypergeometric.rs#L155
Added line #L155 was not covered by tests
Check warning on line 160 in src/distribution/hypergeometric.rs
codecov / codecov/patch
src/distribution/hypergeometric.rs#L160
Added line #L160 was not covered by tests
Check warning on line 178 in src/distribution/hypergeometric.rs
codecov / codecov/patch
src/distribution/hypergeometric.rs#L176-L178
Added lines #L176 - L178 were not covered by tests
Check warning on line 172 in src/distribution/multinomial.rs
codecov / codecov/patch
src/distribution/multinomial.rs#L170-L172
Added lines #L170 - L172 were not covered by tests
Check warning on line 184 in src/distribution/multinomial.rs
codecov / codecov/patch
src/distribution/multinomial.rs#L183-L184
Added lines #L183 - L184 were not covered by tests
Check warning on line 195 in src/distribution/multinomial.rs
codecov / codecov/patch
src/distribution/multinomial.rs#L188-L195
Added lines #L188 - L195 were not covered by tests
Check warning on line 202 in src/distribution/multinomial.rs
codecov / codecov/patch
src/distribution/multinomial.rs#L198-L202
Added lines #L198 - L202 were not covered by tests
Check warning on line 204 in src/distribution/multinomial.rs
codecov / codecov/patch
src/distribution/multinomial.rs#L204
Added line #L204 was not covered by tests