Generated test files for new snippets

This commit is contained in:
Angelos Chalaris
2018-01-24 16:48:43 +02:00
parent 4d08ee48f7
commit 9534cdba4f
23 changed files with 229 additions and 5 deletions

13
test/unary/unary.test.js Normal file
View File

@ -0,0 +1,13 @@
const test = require('tape');
const unary = require('./unary.js');
test('Testing unary', (t) => {
//For more information on all the methods supported by tape
//Please go to https://github.com/substack/tape
t.true(typeof unary === 'function', 'unary is a Function');
//t.deepEqual(unary(args..), 'Expected');
//t.equal(unary(args..), 'Expected');
//t.false(unary(args..), 'Expected');
//t.throws(unary(args..), 'Expected');
t.end();
});