summary refs log tree commit diff stats
path: root/tests/stdlib/trandom.nim
Commit message (Collapse)AuthorAgeFilesLines
* fix #17467 1st call to rand is now non-skewed; allow seed == 0 (#17468)Timothee Cour2021-05-111-4/+27
| | | | | | | | | | | | | | | * fix #17467 1st call to rand is now non-skewed; allow passing 0 as seed * changelog + fallback * document behavior for seed == 0 * address comments * _ * fix tests, disable kdtree * re-enable kdtree with -d:nimLegacyRandomInitRand
* Improve math module (#17019)konsumlamm2021-02-121-5/+105
| | | | | | | | | | | | | | | | | | | | | | | | | * Improve documentation for math Support empty input for cumsummed Use runnableExamples Move some examples to tests Add more tests * Update tests/stdlib/tmath.nim Move some tests to trandom.nim Move tests into main template where possible Add test for #17017 * Add more tests for gamma & lgamma Remove gamma(-1.0) example Small fixes/changes * Move more tests into template main() * Fix typos * Add edge case examples for copySign
* enable tests for random (#16297)flywind2020-12-101-34/+41
|
* move tests to testament (#16101)flywind2020-11-241-0/+59
* move tests to testament * minor * fix random * disable test random