Final polish on the integer tests, time to start converting the rest

This commit is contained in:
Tyler Wilding
2020-10-03 18:32:01 -04:00
parent 282e53f1be
commit 663453769c
9 changed files with 207 additions and 136 deletions
+11
View File
@@ -1,6 +1,17 @@
#include "gtest/gtest.h"
#include <common\util\FileUtil.h>
#include <filesystem>
int main(int argc, char** argv) {
::testing::InitGoogleTest(&argc, argv);
// Re-init failed folder
std::string failedFolder = file_util::get_file_path({"test/goalc/source_generated/failed/"});
if (std::filesystem::exists(failedFolder)) {
std::filesystem::remove_all(failedFolder);
}
std::filesystem::create_directory(failedFolder);
return RUN_ALL_TESTS();
}