Commit graph

13 commits

Author SHA1 Message Date
pyoor
28254a80de Modify random.item to work with array-like objects and update tests 2017-07-20 15:29:37 -04:00
Jesse Schwartzentruber
2262c9a2b5 Add all files to the tests index.html for local runs. 2017-06-07 11:09:57 -04:00
Jesse Schwartzentruber
5be44328f0 Double the length of random distribution tests to decrease random
failures.
2017-06-07 10:28:50 -04:00
Christoph Diehl
3bf2bb1e0d Fix configurations for tests cause of lib relocation 2017-04-23 03:05:38 +03:00
Christoph Diehl
22085d0531 Add license headers 2017-04-22 23:16:47 +03:00
Jesse Schwartzentruber
b7d4cbd043 Add remaining tests for random functions. 2017-04-20 15:13:55 -04:00
Jesse Schwartzentruber
446dcdf1d9 More work on tests for random functions 2017-04-13 13:07:12 -04:00
Jesse Schwartzentruber
8b20380b28 Add more random tests.
Use chi-squared goodness of fit tests for random distributions.
2017-04-12 17:03:57 -04:00
pyoor
78e753a3e7 Add placeholder for Random.pop Qunit test 2017-04-12 10:41:13 -04:00
Jesse Schwartzentruber
5dbe5b7fa6 More random.js tests and fix an issue in random.float() 2017-04-11 17:43:09 -04:00
Jesse Schwartzentruber
b3c7ecbe2f Switch from qunit (node) and slimerjs to karma which supports running
qunit tests in firefox and chrome.

Maintaining code to work in node for testing only will be error-prone.
2017-04-10 13:49:32 -04:00
Christoph Diehl
4a1ed5d176 Add temporary unit-test functions for random.js 2017-04-07 17:06:59 +02:00
Jesse Schwartzentruber
a01cd4191f Initial unit test skeleton. 2017-04-07 12:56:18 +02:00