aboutsummaryrefslogtreecommitdiff
path: root/node_modules/brorand/test/api-test.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/brorand/test/api-test.js')
-rw-r--r--node_modules/brorand/test/api-test.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/node_modules/brorand/test/api-test.js b/node_modules/brorand/test/api-test.js
new file mode 100644
index 000000000..b6c876d35
--- /dev/null
+++ b/node_modules/brorand/test/api-test.js
@@ -0,0 +1,8 @@
+var brorand = require('../');
+var assert = require('assert');
+
+describe('Brorand', function() {
+ it('should generate random numbers', function() {
+ assert.equal(brorand(100).length, 100);
+ });
+});