27 lines
654 B
Python
27 lines
654 B
Python
from __future__ import annotations
|
|
|
|
|
|
def test_s41_public_contract_surface_exists() -> None:
|
|
from quant_engine.portfolio_risk_contracts import (
|
|
ComputationReceipt,
|
|
ConstraintSetV1,
|
|
FreshnessPolicy,
|
|
PortfolioDecision,
|
|
RiskAssessment,
|
|
assess_portfolio_risk,
|
|
build_portfolio_decision,
|
|
)
|
|
|
|
assert all(
|
|
symbol is not None
|
|
for symbol in (
|
|
ComputationReceipt,
|
|
ConstraintSetV1,
|
|
FreshnessPolicy,
|
|
PortfolioDecision,
|
|
RiskAssessment,
|
|
assess_portfolio_risk,
|
|
build_portfolio_decision,
|
|
)
|
|
)
|