<commit_before>/**
 * @author sarkiroka on 2016.05.08.
 */
var acnsy = require('../../index_v2');
var addToResultFactory = require('./helper/add-to-result-factory');
describe('simple parallel functionality', function () {
	it('can add two number in async', function (done) {
		var params = {a: 1, b: 2, result: 0};
		var timeA = 100;
		var timeB = 150;

		var addA = addToResultFactory(timeA, 'a');
		var addB = addToResultFactory(timeB, 'b');

		var tasks = [[addA, addB]];
		var startTime = Date.now();<commit_msg>teszteset az alap használathoz - párhuzamos végrehajtás<commit_after>/**
 * @author sarkiroka on 2016.05.08.
 */
var acnsy = require('../../index_v2');
var addToResultFactory = require('./helper/add-to-result-factory');
describe('simple parallel functionality', function () {
	it('can add two number in async', function (done) {
		var params = {a: 1, b: 2, result: 0};
		var timeA = 100;
		var timeB = 150;
		var addA = addToResultFactory(timeA, 'a');
		var addB = addToResultFactory(timeB, 'b');
		var tasks = [[addA, addB]];
		var startTime = Date.now();

{'fraction_non_alphanumeric': 0.16868592730661697, 'fraction_numerical': 0.033550792171481825, 'mean_word_length': 4.090047393364929, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '228978', 'n_tokens_mistral': 425, 'n_tokens_neox': 375, 'n_words': 108}