<commit_before>#include "gtest/gtest.h"
#include "roman.h"

TEST(ComplexInput, MultipleSingleCharacters) {
	EXPECT_EQ(roman_to_int("II"), 2);
	EXPECT_EQ(roman_to_int("XXX"), 30);
	EXPECT_EQ(roman_to_int("L"), 50);
	EXPECT_EQ(roman_to_int("CC"), 200);
	EXPECT_EQ(roman_to_int("CCC"), 300);
	EXPECT_EQ(roman_to_int("MM"), 2000);
}

TEST(ComplexInput, IncreasingCharacters) {
	EXPECT_EQ(roman_to_int("XI"), 11);
	EXPECT_EQ(roman_to_int("XII"), 12);
	EXPECT_EQ(roman_to_int("VI"), 6);
	EXPECT_EQ(roman_to_int("LX"), 60);
	EXPECT_EQ(roman_to_int("MDXX"), 1520);
}

TEST(ComplexInput, NonRepeatableCharacters) {
	EXPECT_EQ(roman_to_int("VV"), -1);
	EXPECT_EQ(roman_to_int("DDD"), -1);
	EXPECT_EQ(roman_to_int("LL"), -1);
	EXPECT_EQ(roman_to_int("MDDX"), -1);
}

TEST(ComplexInput, TooMuchRepetitions) {
	EXPECT_EQ(roman_to_int("MIIII"), -1);
	EXPECT_EQ(roman_to_int("DXXXX"), -1);
	EXPECT_EQ(roman_to_int("LXXXXX"), -1);
	EXPECT_EQ(roman_to_int("MMMMMDXII"), -1);
}

int main(int argc, char **argv) {
	::testing::InitGoogleTest(&argc, argv);
	return RUN_ALL_TESTS();
}<commit_msg>Fixed grammar error in the test code<commit_after>#include "gtest/gtest.h"
#include "roman.h"

TEST(ComplexInput, MultipleSingleCharacters) {
	EXPECT_EQ(roman_to_int("II"), 2);
	EXPECT_EQ(roman_to_int("XXX"), 30);
	EXPECT_EQ(roman_to_int("L"), 50);
	EXPECT_EQ(roman_to_int("CC"), 200);
	EXPECT_EQ(roman_to_int("CCC"), 300);
	EXPECT_EQ(roman_to_int("MM"), 2000);
}

TEST(ComplexInput, IncreasingCharacters) {
	EXPECT_EQ(roman_to_int("XI"), 11);
	EXPECT_EQ(roman_to_int("XII"), 12);
	EXPECT_EQ(roman_to_int("VI"), 6);
	EXPECT_EQ(roman_to_int("LX"), 60);
	EXPECT_EQ(roman_to_int("MDXX"), 1520);
}

TEST(ComplexInput, NonRepeatableCharacters) {
	EXPECT_EQ(roman_to_int("VV"), -1);
	EXPECT_EQ(roman_to_int("DDD"), -1);
	EXPECT_EQ(roman_to_int("LL"), -1);
	EXPECT_EQ(roman_to_int("MDDX"), -1);
}

TEST(ComplexInput, TooManyRepetitions) {
	EXPECT_EQ(roman_to_int("MIIII"), -1);
	EXPECT_EQ(roman_to_int("DXXXX"), -1);
	EXPECT_EQ(roman_to_int("LXXXXX"), -1);
	EXPECT_EQ(roman_to_int("MMMMMDXII"), -1);
}

int main(int argc, char **argv) {
	::testing::InitGoogleTest(&argc, argv);
	return RUN_ALL_TESTS();
}
{'fraction_non_alphanumeric': 0.19438046982957163, 'fraction_numerical': 0.03132197144173192, 'mean_word_length': 9.009216589861751, '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': '4294647', 'n_tokens_mistral': 1021, 'n_tokens_neox': 993, 'n_words': 124}