Refactor to accept new Library structure

This commit is contained in:
2024-03-08 22:20:13 +01:00
parent b7398db9b1
commit 7e4ee0a9a9
46 changed files with 122 additions and 132 deletions

View File

@@ -5,8 +5,8 @@ if(ENABLE_TESTING)
${Platform_SOURCE_DIR}/lib/argparse/include
${Platform_SOURCE_DIR}/lib/mdlp
${Platform_SOURCE_DIR}/lib/Files
/usr/local/include/bayesnet
/usr/local/include/pyclassifiers
${CMAKE_BINARY_DIR}/configured_files/include
/usr/local/include
)
set(TEST_SOURCES_PLATFORM TestUtils.cc TestPlatform.cc)
add_executable(${TEST_PLATFORM} ${TEST_SOURCES_PLATFORM})

View File

@@ -11,6 +11,6 @@
TEST_CASE("Test Python Classifiers score", "[PyClassifiers]")
{
std::string version = { project_version.begin(), project_version.end() };
std::string version = { platform_project_version.begin(), platform_project_version.end() };
REQUIRE(version == "1.0.4");
}

View File

@@ -5,7 +5,7 @@ class Paths {
public:
static std::string datasets()
{
return { data_path.begin(), data_path.end() };
return { platform_data_path.begin(), platform_data_path.end() };
}
};