<commit_before>#include "stdafx.h"
#include "CppUnitTest.h"
#include "parser.h"
#include "executor.h"
#include "controller.h"

using namespace Microsoft::VisualStudio::CppUnitTestFramework;

namespace IntegrationTests
{		
	TEST_CLASS(IntegrationTest)
	{
	public:
		
		TEST_METHOD(Addxecution)
		{
			Parser parser;
			Controller ctrl("");
			Executor executor(&ctrl);
			auto cmd = parser.parseCommand("add something");
			executor.executeCommand(cmd);
			Assert::AreEqual(int(ctrl.getAllEvents().size()),1);
		}

		TEST_METHOD(Updatexecution)
		{
			Parser parser;
			Controller ctrl("");
			Executor executor(&ctrl);<commit_msg>[minor] rename test case.<commit_after>#include "stdafx.h"
#include "CppUnitTest.h"
#include "parser.h"
#include "executor.h"
#include "controller.h"

using namespace Microsoft::VisualStudio::CppUnitTestFramework;

namespace IntegrationTests
{		
	TEST_CLASS(IntegrationTest)
	{
	public:
		
		TEST_METHOD(Addxecution)
		{
			Parser parser;
			Controller ctrl("");
			Executor executor(&ctrl);
			auto cmd = parser.parseCommand("add something");
			executor.executeCommand(cmd);
			Assert::AreEqual(int(ctrl.getAllEvents().size()),1);
		}

		TEST_METHOD(testAddDate)
		{
			Parser parser;
			Controller ctrl("");
			Executor executor(&ctrl);
{'fraction_non_alphanumeric': 0.136327817178881, 'fraction_numerical': 0.0015760441292356187, 'mean_word_length': 5.25615763546798, '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': '3735660', 'n_tokens_mistral': 467, 'n_tokens_neox': 411, 'n_words': 76}