<commit_before>import test from 'ava';
import fn from './';

test('should be true', t => {
	t.true(fn(153));
	t.true(fn(370));
	t.true(fn(371));
	t.true(fn(407));
	t.true(fn(1634));
	t.true(fn(8208));
	t.true(fn(4679307774));
	t.end();
});

test('should be false', t => {
	t.false(fn(154));
	t.false(fn(471414));
	t.false(fn(88));
	t.false(fn(100));
	t.end();
});<commit_msg>Adjust tests according to new AVA api<commit_after>import test from 'ava';
import m from './';

test('should be true', t => {
	t.true(m(153));
	t.true(m(370));
	t.true(m(371));
	t.true(m(407));
	t.true(m(1634));
	t.true(m(8208));
	t.true(m(4679307774));
});

test('should be false', t => {
	t.false(m(154));
	t.false(m(471414));
	t.false(m(88));
	t.false(m(100));
});
{'fraction_non_alphanumeric': 0.2722371967654987, 'fraction_numerical': 0.11859838274932614, 'mean_word_length': 4.75968992248062, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '2023875', 'n_tokens_mistral': 398, 'n_tokens_neox': 347, 'n_words': 60}