<commit_before>'use strict';
var generate = require('../');

var fuzz = require('annofuzz')(generate);
var is = require('annois');


fuzz(generate.array, function(op) {
    var res = op(100, generate.number);

    return res.filter(is.number).length === res.length;
}, 100);<commit_msg>Fix array test<commit_after>'use strict';
var generate = require('../');

var fuzz = require('annofuzz')(generate);
var is = require('annois');


fuzz(generate.array, function(op) {
    var res = op([0, 100], generate.number);

    return res.filter(is.number).length === res.length;
}, 100);
{'fraction_non_alphanumeric': 0.19550173010380623, 'fraction_numerical': 0.02249134948096886, 'mean_word_length': 4.79, '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': '5725438', 'n_tokens_mistral': 202, 'n_tokens_neox': 188, 'n_words': 44}