<commit_before>'use strict';

var ArrayIterator = require('../array')

  , slice = Array.prototype.slice;

module.exports = function (t, a) {
	var i = 0, x = ['raz', 'dwa', 'trzy'];
	t(x, function () {
		a.deep(slice.call(arguments), [x[i]], "Array " + (i++) + "#");
	});
	i = 0;
	t(new ArrayIterator(x), function () {
		a.deep(slice.call(arguments), [x[i]], "Array " + (i++) + "#");
	});
};<commit_msg>Test context<commit_after>'use strict';

var ArrayIterator = require('../array')

  , slice = Array.prototype.slice;

module.exports = function (t, a) {
	var i = 0, x = ['raz', 'dwa', 'trzy'], y = {};
	t(x, function () {
		a.deep(slice.call(arguments), [x[i]], "Array " + i + "#");
		a(this, y, "Array: context:  " + (i++) + "#");
	}, y);
	i = 0;
	t(new ArrayIterator(x), function () {
		a.deep(slice.call(arguments), [x[i]], "Iterator " + i + "#");
		a(this, y, "Iterator: context:  " + (i++) + "#");
	}, y);
};
{'fraction_non_alphanumeric': 0.2754098360655738, 'fraction_numerical': 0.004371584699453552, 'mean_word_length': 3.7958115183246073, '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': '568111', 'n_tokens_mistral': 373, 'n_tokens_neox': 360, 'n_words': 80}