<commit_before>#include <time.h>

#include "DissentTest.hpp"

void FileExists(QString filename);
void FileDelete(QString filename);
void FilesExist();
void FilesDelete();

GTEST_API_ int main(int argc, char **argv)
{
  QCoreApplication qca(argc, argv);
  Logging::Disable();
//  Logging::UseFile("test.log");
  qDebug() << "Begging tests";
  FilesExist();
  testing::InitGoogleTest(&argc, argv);
  int res = RUN_ALL_TESTS();
  FilesDelete();
  return res;
}

void FilesExist()
{
  FileExists("dissent.ini");
  FileExists("private_key");
  FileExists("public_key");
}

void FilesDelete()
{
  FileDelete("dissent.ini");
  FileDelete("private_key");
  FileDelete("public_key");
}<commit_msg>[Tests] I guess this will be a constant struggle ... that is to maintain this logging<commit_after>#include <time.h>

#include "DissentTest.hpp"

void FileExists(QString filename);
void FileDelete(QString filename);
void FilesExist();
void FilesDelete();

GTEST_API_ int main(int argc, char **argv)
{
  QCoreApplication qca(argc, argv);
  Logging::UseFile("test.log");
  qDebug() << "Beginning tests";
  FilesExist();
  testing::InitGoogleTest(&argc, argv);
  int res = RUN_ALL_TESTS();
  FilesDelete();
  return res;
}

void FilesExist()
{
  FileExists("dissent.ini");
  FileExists("private_key");
  FileExists("public_key");
}

void FilesDelete()
{
  FileDelete("dissent.ini");
  FileDelete("private_key");
  FileDelete("public_key");
}
{'fraction_non_alphanumeric': 0.1584852734922861, 'fraction_numerical': 0.0, 'mean_word_length': 5.927184466019417, 'pattern_counts': {'":': 0, '<': 9, '<?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': '3063173', 'n_tokens_mistral': 487, 'n_tokens_neox': 488, 'n_words': 107}