<commit_before>/*******************************************************************************
 *
 * kit/kernel/test.c
 * - runtime unit tests
 *
 * vim:ts=2:sw=2:et:tw=80:ft=c
 *
 * Copyright (C) 2013, <NAME>
 * Redistribution of this file is permitted under the terms of the simplified
 * BSD license. See LICENSE for more information.
 *
 ******************************************************************************/

#include <stdint.h>
#include <stddef.h>

#include "terminal.h"
#include "memory.h"
#include "interrupt.h"
#include "rbtree.h"
#include "x86_64.h"

#include "test.h"

bool test_run(const char *name, bool (*testcase)())<commit_msg>[kernel] test: add debug.h since I'm not going to remove x86_64.h either.<commit_after>/*******************************************************************************
 *
 * kit/kernel/test.c
 * - runtime unit tests
 *
 * vim:ts=2:sw=2:et:tw=80:ft=c
 *
 * Copyright (C) 2013, <NAME>
 * Redistribution of this file is permitted under the terms of the simplified
 * BSD license. See LICENSE for more information.
 *
 ******************************************************************************/

#include <stdint.h>
#include <stddef.h>

#include "terminal.h"
#include "memory.h"
#include "interrupt.h"
#include "rbtree.h"

#include "debug.h"
#include "x86_64.h"

#include "test.h"

bool test_run(const char *name, bool (*testcase)())
{'fraction_non_alphanumeric': 0.34415584415584416, 'fraction_numerical': 0.020202020202020204, 'mean_word_length': 5.765853658536585, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '6907507', 'n_tokens_mistral': 445, 'n_tokens_neox': 408, 'n_words': 114}