🐛 Update: Added support for the 'find' command in settings.local.json. Enhanced logging for various modules, including initialization and performance metrics. Improved SQLite database optimization and ensured better tracking of user interactions and system processes. 📚
This commit is contained in:
13
network-visualization/node_modules/unix-crypt-td-js/test/test.js
generated
vendored
Normal file
13
network-visualization/node_modules/unix-crypt-td-js/test/test.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
/** Tests for Unix Crypt **/
|
||||
let assert = require('assert');
|
||||
let unixCryptTD = require('../src/unix-crypt-td.js');
|
||||
|
||||
describe('unixCryptTD', function() {
|
||||
it('should equal output of crypt(3)', function() {
|
||||
assert.equal(unixCryptTD('foo', 'ba'), 'ba4TuD1iozTxw');
|
||||
assert.equal(unixCryptTD('random long string', 'hi'), 'hib8W/d4WOlU.');
|
||||
assert.equal(unixCryptTD('foob', 'ar'), 'arlEKn0OzVJn.');
|
||||
assert.equal(unixCryptTD('Hello World! This is Unix crypt(3)!', 'ux'),
|
||||
'uxNS5oJDUz4Sc');
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user