convergence_best #27

Merged
rmontanana merged 5 commits from convergence_best into main 2024-04-30 16:22:09 +00:00
4 changed files with 7 additions and 1 deletions
Showing only changes of commit b4a222b100 - Show all commits

View File

@ -0,0 +1,4 @@
{
"sonarCloudOrganization": "rmontanana",
"projectKey": "rmontanana_BayesNet"
}

View File

@ -1,5 +1,6 @@
filter = bayesnet/
exclude-directories = build_debug/lib/
exclude-directories = build_debug/tests/lib
exclude = bayesnet/utils/loguru.*
print-summary = yes
sort = uncovered-percent

1
lib/catch2 Submodule

@ -0,0 +1 @@
Subproject commit 029fe3b4609dd84cd939b73357f37bbb75bcf82f

View File

@ -11,7 +11,7 @@ if(ENABLE_TESTING)
add_executable(TestBayesNet TestBayesNetwork.cc TestBayesNode.cc TestBayesClassifier.cc
TestBayesModels.cc TestBayesMetrics.cc TestFeatureSelection.cc TestBoostAODE.cc
TestUtils.cc TestBayesEnsemble.cc ${BayesNet_SOURCES})
target_link_libraries(TestBayesNet PUBLIC "${TORCH_LIBRARIES}" ArffFiles mdlp Catch2::Catch2WithMain )
target_link_libraries(TestBayesNet PUBLIC "${TORCH_LIBRARIES}" ArffFiles mdlp PRIVATE Catch2::Catch2WithMain )
add_test(NAME BayesNetworkTest COMMAND TestBayesNet)
add_test(NAME Network COMMAND TestBayesNet "[Network]")
add_test(NAME Node COMMAND TestBayesNet "[Node]")