<commit_before>'use strict';

import  * as test  from 'tape';
import { maxBy } from '../../dist/cjs/iterable/maxBy';
import { sequenceEqual } from '../../dist/cjs/iterable/sequenceequal';

test('Iterable#maxBy', t => {
  const source = [2, 5, 0, 7, 4, 3, 6, 2, 1];

  const res = maxBy(source, x => x % 3);
  t.true(sequenceEqual(res, [2, 5, 2]));
  t.end();
});<commit_msg>fix(maxby) - fix imports case sensitivity<commit_after>'use strict';

import  * as test  from 'tape';
import { maxBy } from '../../dist/cjs/iterable/maxby';
import { sequenceEqual } from '../../dist/cjs/iterable/sequenceequal';

test('Iterable#maxBy', t => {
  const source = [2, 5, 0, 7, 4, 3, 6, 2, 1];

  const res = maxBy(source, x => x % 3);
  t.true(sequenceEqual(res, [2, 5, 2]));
  t.end();
});
{'fraction_non_alphanumeric': 0.22036082474226804, 'fraction_numerical': 0.03350515463917526, 'mean_word_length': 3.491329479768786, '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': '5379788', 'n_tokens_mistral': 316, 'n_tokens_neox': 295, 'n_words': 82}