<commit_before>#include <iostream>
#include "componentmanager.h"
#include "systemmanager.h"
#include "idmanager.h"
#include "entitymanager.h"
#include "movesystem.h"
#include "rendersystem.h"
#include "movecomponent.h"
#include "rendercomponent.h"
#include "player.h"

using namespace std;

int main(int argc, char** argv) {
	bool running = true;

	SystemManager systemManager;
	ComponentManager componentManager;
	IdManager idManager;

	EntityManager entityManager(&systemManager, &componentManager, &idManager);

	MoveSystem moveSystem;
	RenderSystem renderSystem;

	systemManager.add(&moveSystem);
	systemManager.add(&renderSystem);

	/* TESTING: Make sure a player can be created, updated, removed without breaking the systems */
	unsigned long long int* playerId = entityManager.createPlayer();
	for(int i = 0; i < 20; i++) {
		systemManager.update();
	}
	entityManager.removePlayer(playerId);
	for(int i = 0; i < 20; i++) {
		systemManager.update();
	}
	/* End of TESTING */

	return 0;
}<commit_msg>removed obsolete test-code<commit_after>#include <iostream>
#include "componentmanager.h"
#include "systemmanager.h"
#include "idmanager.h"
#include "entitymanager.h"
#include "movesystem.h"
#include "rendersystem.h"
#include "movecomponent.h"
#include "rendercomponent.h"
#include "player.h"

using namespace std;

int main(int argc, char** argv) {
	bool running = true;

	SystemManager systemManager;
	ComponentManager componentManager;
	IdManager idManager;

	EntityManager entityManager(&systemManager, &componentManager, &idManager);

	MoveSystem moveSystem;
	RenderSystem renderSystem;

	systemManager.add(&moveSystem);
	systemManager.add(&renderSystem);

	return 0;
}
{'fraction_non_alphanumeric': 0.12023809523809524, 'fraction_numerical': 0.004761904761904762, 'mean_word_length': 6.183760683760684, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, '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': '6383929', 'n_tokens_mistral': 540, 'n_tokens_neox': 517, 'n_words': 138}