Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TopoBenchmark renaming + Remove Docker support #122

Merged
merged 15 commits into from
Dec 5, 2024
Prev Previous commit
Next Next commit
Fix bug
gbg141 committed Dec 4, 2024
commit 088e1c860c6a15ec60cd0fd53a203bb782d32262
17 changes: 10 additions & 7 deletions test/evaluator/test_evaluator.py
Original file line number Diff line number Diff line change
@@ -3,10 +3,13 @@

from topobenchmark.evaluator import TBEvaluator

def test_evaluator():
""" Setup the test."""
evaluator_multilable = TBEvaluator(task="multilabel classification")
evaluator_regression = TBEvaluator(task="regression")
with pytest.raises(ValueError):
TBEvaluator(task="wrong")
repr = evaluator_multilable.__repr__()
class TestTBEvaluator:
""" Test the TBXEvaluator class."""

def setup_method(self):
""" Setup the test."""
self.evaluator_multilable = TBEvaluator(task="multilabel classification")
self.evaluator_regression = TBEvaluator(task="regression")
with pytest.raises(ValueError):
TBEvaluator(task="wrong")
repr = self.evaluator_multilable.__repr__()
Loading