Commit graph

366 commits

Author SHA1 Message Date
Christoph Diehl
eaa4f436b1 Add utils 2017-04-13 16:20:04 +03:00
Christoph Diehl
539443ede2 Add random to .jshintrc 2017-04-13 16:17:33 +03:00
Christoph Diehl
3a2e88c4b3 Fix inspections 2017-04-13 05:14:02 +03:00
Christoph Diehl
3ac4c7d281 Add network.js 2017-04-13 03:05:57 +03:00
Christoph Diehl
db1db9b1a4 Add types.js 2017-04-13 03:05:17 +03:00
Christoph Diehl
80e1a17cf6 Merge branch 'master' of https://github.com/MozillaSecurity/octo 2017-04-13 00:28:22 +03:00
Christoph Diehl
dbc18ddac6 Add shaders.js 2017-04-13 00:28:12 +03: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
Christoph Diehl
a015709892 Add files.js 2017-04-12 23:33:41 +03:00
Christoph Diehl
44fef815d1 Add strings.js 2017-04-12 23:23:15 +03:00
Christoph Diehl
b25df1051a Add arrays.js 2017-04-12 23:16:44 +03:00
Christoph Diehl
c27b0cfc64 Add mime.js 2017-04-12 22:19:45 +03:00
Christoph Diehl
240c062a9a Add units.js 2017-04-12 22:18:23 +03:00
Christoph Diehl
5d7b77016c [text.js] Add language 2017-04-12 22:12:15 +03:00
Christoph Diehl
aab54d634d [text.js] Add charset 2017-04-12 22:11:04 +03:00
Christoph Diehl
b32d4650a6 Add text.js 2017-04-12 21:55:13 +03:00
Christoph Diehl
27f650a874 Add numbers.js 2017-04-12 21:43:55 +03:00
Christoph Diehl
3aa9618082 Add fonts.js 2017-04-12 21:43:30 +03:00
Christoph Diehl
146009da0e Edit Random.pop() 2017-04-12 18:24:44 +03:00
Christoph Diehl
30a9c59613 Merge pull request #8 from pyoor/master
Add Random.pop() and placeholder for unit tests
2017-04-12 17:18:04 +02:00
pyoor
78e753a3e7 Add placeholder for Random.pop Qunit test 2017-04-12 10:41:13 -04:00
pyoor
05ad767b05 Added Random.pop() 2017-04-12 10:40:50 -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
1f62911e9e Move badges 2017-04-10 14:19:24 -04:00
Jesse Schwartzentruber
5204516dee Update README with test structure. 2017-04-10 14:14:01 -04:00
Jesse Schwartzentruber
a9dd31aed2 Enable Firefox in Karma config for Travis CI 2017-04-10 14:03:05 -04:00
Jesse Schwartzentruber
1f48bd5953 Update Travis CI environment to trusty so we get a recent chromium. 2017-04-10 13:59:24 -04:00
Jesse Schwartzentruber
36c6bb5b08 Add coveralls badge 2017-04-10 13:54:02 -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
Jesse Schwartzentruber
46c89ee886 Update .gitignore:
- remove python stuff
- remove duplicate templates
- add nodejs template
2017-04-10 13:47:35 -04:00
Jesse Schwartzentruber
91f0cbf6c4 Fix some uses of random.index instead of random.item 2017-04-10 13:37:32 -04:00
Jesse Schwartzentruber
bdeabbbbd4 Change a bunch of uses of var to let 2017-04-10 13:36:38 -04:00
Christoph Diehl
db1997c4ea Update README.md 2017-04-07 17:08:49 +02:00
Christoph Diehl
4a1ed5d176 Add temporary unit-test functions for random.js 2017-04-07 17:06:59 +02:00
Christoph Diehl
671a9a9fe4 Rename random.some to random.subset 2017-04-07 16:59:43 +02:00
Christoph Diehl
ba5f56cd0b Rename random.index to random.item 2017-04-07 16:59:10 +02:00
Christoph Diehl
e03a4b431e Update README.md 2017-04-07 16:21:18 +02:00
Christoph Diehl
fd64296c59 Update README.md 2017-04-07 16:19:31 +02:00
Christoph Diehl
f4e934b263 Merge branch 'master' of https://github.com/MozillaSecurity/octo 2017-04-07 16:17:05 +02:00
Christoph Diehl
de742a7fc7 Add console logger 2017-04-07 16:16:59 +02:00
Jesse Schwartzentruber
ac70f55523 Only run tests for master branch. 2017-04-07 15:56:45 +02:00
Jesse Schwartzentruber
c5806f9fc6 Update nodejs version. 2017-04-07 15:50:15 +02:00
Jesse Schwartzentruber
51b4d9b37a Use trusty in Travis-CI 2017-04-07 14:54:12 +02:00
Christoph Diehl
9569ef2a6e Add badge for Travis-CI 2017-04-07 14:47:44 +02:00
Christoph Diehl
852223f5ae Add badge for Travis-CI 2017-04-07 14:46:22 +02:00
Jesse Schwartzentruber
9a1fe79100 Add qunit to Travis CI requirements. 2017-04-07 14:44:25 +02:00
Christoph Diehl
4107f4148d Merge branch 'master' of https://github.com/MozillaSecurity/octo 2017-04-07 14:41:51 +02:00
Christoph Diehl
705615f857 Add empty logging module 2017-04-07 14:41:44 +02:00
Jesse Schwartzentruber
a01cd4191f Initial unit test skeleton. 2017-04-07 12:56:18 +02:00
Christoph Diehl
37545ffeee Merge branch 'master' of https://github.com/MozillaSecurity/octo 2017-04-07 10:12:16 +02:00