Refactor ArffFiles library as a git submodule only for tests

This commit is contained in:
2024-05-21 11:50:19 +00:00
parent 22b742f068
commit 0341bd5648
10 changed files with 31 additions and 330 deletions

View File

@@ -18,7 +18,8 @@
std::map<std::string, std::string> modules = {
{ "mdlp", "1.1.2" },
{ "Folding", "1.1.0" },
{ "json", "3.11" }
{ "json", "3.11" },
{ "ArffFiles", "1.0.0" }
};
TEST_CASE("MDLP", "[Modules]")
@@ -35,3 +36,8 @@ TEST_CASE("NLOHMANN_JSON", "[Modules]")
{
REQUIRE(JSON_VERSION == modules["json"]);
}
TEST_CASE("ArffFiles", "[Modules]")
{
auto handler = ArffFiles();
REQUIRE(handler.version() == modules["ArffFiles"]);
}