Initial standalone memabra release
This commit is contained in:
22
tests/test_package_exports.py
Normal file
22
tests/test_package_exports.py
Normal file
@@ -0,0 +1,22 @@
|
||||
def test_memabra_package_exports_alpha_modules():
|
||||
from src import memabra
|
||||
|
||||
assert hasattr(memabra, "promotion")
|
||||
assert hasattr(memabra, "benchmarks")
|
||||
assert hasattr(memabra, "online_learning")
|
||||
assert hasattr(memabra, "training_reports")
|
||||
|
||||
|
||||
def test_memabra_top_level_imports():
|
||||
from memabra import PromotionPolicy, BenchmarkSuite, OnlineLearningCoordinator, TrainingReportStore, CaseIndex
|
||||
|
||||
assert PromotionPolicy is not None
|
||||
assert BenchmarkSuite is not None
|
||||
assert OnlineLearningCoordinator is not None
|
||||
assert TrainingReportStore is not None
|
||||
assert CaseIndex is not None
|
||||
|
||||
|
||||
def test_benchmark_task_exported_from_package():
|
||||
from memabra import BenchmarkTask
|
||||
assert BenchmarkTask is not None
|
||||
Reference in New Issue
Block a user