<commit_before>extern crate split_into;

use split_into::split_into;

#[test]
fn test_split_into_empty() {
    assert_eq!(Vec::from_elem(0,0),       split_into(10,0));
    assert_eq!(vec!(10),                  split_into(10,1));
    assert_eq!(vec!(5,5),                 split_into(10,2));
    assert_eq!(vec!(3,3,4),               split_into(10,3));
    assert_eq!(vec!(2,2,3,3),             split_into(10,4));<commit_msg>Rename test fn name<commit_after>extern crate split_into;

use split_into::split_into;

#[test]
fn test_split_into() {
    assert_eq!(Vec::from_elem(0,0),       split_into(10,0));
    assert_eq!(vec!(10),                  split_into(10,1));
    assert_eq!(vec!(5,5),                 split_into(10,2));
    assert_eq!(vec!(3,3,4),               split_into(10,3));
    assert_eq!(vec!(2,2,3,3),             split_into(10,4));
{'fraction_non_alphanumeric': 0.17966903073286053, 'fraction_numerical': 0.06619385342789598, 'mean_word_length': 2.957943925233645, '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': '5343201', 'n_tokens_mistral': 327, 'n_tokens_neox': 312, 'n_words': 38}