Add tests to 90% coverage

This commit is contained in:
2025-03-14 14:53:22 +01:00
parent c234308701
commit 400967b4e3
14 changed files with 943 additions and 463 deletions

View File

@@ -11,7 +11,7 @@ namespace bayesnet {
Proposal::~Proposal()
{
for (auto& [key, value] : discretizers) {
delete value;
delete value;
}
}
void Proposal::checkInput(const torch::Tensor& X, const torch::Tensor& y)
@@ -126,4 +126,4 @@ namespace bayesnet {
}
return yy;
}
}
}