<commit_before>
#include <vector>
#include <iostream>

#include <unique_justseen.hpp>
using iter::unique_justseen;

int main() {
    std::vector<int> v {1,1,1,2,2,4,4,5,6,7,8,8,8,8,9,9};
    for (auto i : unique_justseen(v)) {
        std::cout << i << " ";
    }
    std::cout << '\n';

    std::cout << "with temporary\n";
    for (auto i : unique_justseen(std::vector<int>{1,1,1,2,3,3})) {
        std::cout << i << " ";
    }
    std::cout << '\n';

    std::cout << "with init list\n";
    for (auto i : unique_justseen({1,1,1,2,3,3})) {
        std::cout << i << " ";
    }
    std::cout << '\n';

    return 0;
}<commit_msg>adds test with static array<commit_after>
#include <vector>
#include <iostream>

#include <unique_justseen.hpp>
using iter::unique_justseen;

int main() {
    std::vector<int> v {1,1,1,2,2,4,4,5,6,7,8,8,8,8,9,9};
    for (auto i : unique_justseen(v)) {
        std::cout << i << " ";
    }
    std::cout << '\n';

    std::cout << "with temporary\n";
    for (auto i : unique_justseen(std::vector<int>{1,1,1,2,3,3})) {
        std::cout << i << " ";
    }
    std::cout << '\n';

    std::cout << "with init list\n";
    for (auto i : unique_justseen({1,1,1,2,3,3})) {
        std::cout << i << " ";
    }
    std::cout << '\n';

    std::cout << "with static array\n";
    int arr[] = {1, 1, 2, 3, 3, 3, 4};
    for (auto i : unique_justseen(arr)) {
        std::cout << i << " ";
    }
    std::cout << '\n';

    return 0;
}
{'fraction_non_alphanumeric': 0.2345679012345679, 'fraction_numerical': 0.04458161865569273, 'mean_word_length': 2.7506426735218508, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 13, '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': '5299234', 'n_tokens_mistral': 610, 'n_tokens_neox': 593, 'n_words': 119}