<commit_before>#include <gtest/gtest.h>
#include <iostream>
#include "Combinations.hpp"

using namespace std;
using namespace dscr;

void check_combination(const combinations::combination& x, int n, int k)
{
	ASSERT_TRUE(std::is_sorted(x.begin(),x.end()));
	ASSERT_EQ(x.size(), k+1);
	if (k > 0)
	{
		ASSERT_TRUE(x.front() >= 0);
		ASSERT_TRUE(x.back() < n);
	}
}

void check_combination_index(const combinations& X, const combinations::combination& x, int i)
{<commit_msg>Again with the stupid unit tests<commit_after>#include <gtest/gtest.h>
#include <iostream>
#include "Combinations.hpp"

using namespace std;
using namespace dscr;

void check_combination(const combinations::combination& x, int n, int k)
{
	ASSERT_TRUE(std::is_sorted(x.begin(),x.end()));
	ASSERT_EQ(x.size(), k);
	if (k > 0)
	{
		ASSERT_TRUE(x.front() >= 0);
		ASSERT_TRUE(x.back() < n);
	}
}

void check_combination_index(const combinations& X, const combinations::combination& x, int i)
{
{'fraction_non_alphanumeric': 0.1588785046728972, 'fraction_numerical': 0.005192107995846314, 'mean_word_length': 5.9855072463768115, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, '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': '331789', 'n_tokens_mistral': 367, 'n_tokens_neox': 357, 'n_words': 83}