<commit_before>#include "gtest/gtest.h"
#include "cpp/ylikuutio/file/file_loader.hpp"

// Include standard headers
TEST(file_must_be_slurped_appropriately, kongtext_svg)
{
    std::string file_contents = file::slurp("kongtext.svg");
    const char* file_contents_char = file_contents.c_str();
    const char* first_line_of_kongtext_svg = "<?xml version=\"1.0\" standalone=\"no\"?>";
    printf("%.*s\n", strlen(first_line_of_kongtext_svg), file_contents_char);
    ASSERT_EQ(strncmp(file_contents_char, first_line_of_kongtext_svg, strlen(first_line_of_kongtext_svg)), 0);
}
<commit_msg>`TEST(file_must_be_slurped_appropriately`: Tarkistetaan myös rivi 10.<commit_after>#include "gtest/gtest.h"
#include "cpp/ylikuutio/file/file_loader.hpp"

// Include standard headers
TEST(file_must_be_slurped_appropriately, kongtext_svg)
{
    std::string file_contents = file::slurp("kongtext.svg");
    const char* file_contents_char = file_contents.c_str();
    const char* first_line_of_kongtext_svg = "<?xml version=\"1.0\" standalone=\"no\"?>";
    printf("%.*s\n", strlen(first_line_of_kongtext_svg), file_contents_char);
    ASSERT_EQ(strncmp(file_contents_char, first_line_of_kongtext_svg, strlen(first_line_of_kongtext_svg)), 0);

    int offset_of_first_character_of_tenth_line = 0x126;
    const char* tenth_line_of_kongtext_svg = "<font id=\"KongtextRegular\" horiz-adv-x=\"1024\" >";
    printf("%.*s\n", strlen(tenth_line_of_kongtext_svg), file_contents_char + offset_of_first_character_of_tenth_line);
    ASSERT_EQ(strncmp(file_contents_char + offset_of_first_character_of_tenth_line, tenth_line_of_kongtext_svg, strlen(tenth_line_of_kongtext_svg)), 0);
}

{'fraction_non_alphanumeric': 0.1295961422543701, 'fraction_numerical': 0.010247136829415311, 'mean_word_length': 7.3, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 2, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '929824', 'n_tokens_mistral': 642, 'n_tokens_neox': 620, 'n_words': 80}