<commit_before>'use strict';

/**
 * Run package tests.
 * (C) 2013 <NAME>.
 */

// requires
var testing = require('testing');


/**
 * Run all module tests.
 */
exports.test = function(callback)
{
	var tests = {};
	var libs = ['server'];
	libs.forEach(function(lib)
	{
		tests[lib] = require('./lib/' + lib + '.js').test;
	});
	testing.run(tests, callback);
};

// run tests if invoked directly
if (__filename == process.argv[1])
{
	exports.test(testing.show);
}
<commit_msg>Added tests for pooled and remote.<commit_after>'use strict';

/**
 * Run package tests.
 * (C) 2013 <NAME>.
 */

// requires
var testing = require('testing');


/**
 * Run all module tests.
 */
exports.test = function(callback)
{
	var tests = {};
	var libs = ['server', 'pooled', 'remote'];
	libs.forEach(function(lib)
	{
		tests[lib] = require('./lib/' + lib + '.js').test;
	});
	testing.run(tests, callback);
};

// run tests if invoked directly
if (__filename == process.argv[1])
{
	exports.test(testing.show);
}

{'fraction_non_alphanumeric': 0.20241691842900303, 'fraction_numerical': 0.010070493454179255, 'mean_word_length': 3.5806451612903225, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5459070', 'n_tokens_mistral': 352, 'n_tokens_neox': 336, 'n_words': 85}