23 lines
741 B
Python
23 lines
741 B
Python
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
|