MastodonC / kixi.stats

A library of statistical distribution sampling and transducing functions
https://cljdoc.xyz/d/kixi/stats
360 stars 18 forks source link

Test improvements #35

Closed bombaywalla closed 4 years ago

bombaywalla commented 4 years ago

This PR implements the suggested changes in PR #34 to improve the distribution tests. Also added asserts to each distribution to validate the parameters. Updated the docstrings in a few instances. Details in commit message.

Note that there may be a conflict with PR #34 (in the definition of gen-two-ascending-ints). So, I would recommend that this PR be applied first. Then I can make the adjustments to PR #34 to accommodate.