feat(CORE-001B): migrate overview and hedge math to unit types

This commit is contained in:
Bu5hm4nn
2026-03-24 21:57:40 +01:00
parent a69fdf6762
commit 7c2729485c
6 changed files with 262 additions and 91 deletions

View File

@@ -193,8 +193,12 @@ def test_homepage_and_options_page_render() -> None:
assert "$222,000" in hedge_text
assert "80.0%" in hedge_text
assert "$12,345" in hedge_text
assert "Scenario spot" in hedge_text
assert "$3,520.00" in hedge_text
assert "Unhedged equity" in hedge_text
assert "$552,400" in hedge_text
assert "Hedged equity" in hedge_text
assert "$551,025" in hedge_text
page.screenshot(path=str(ARTIFACTS / "hedge.png"), full_page=True)
browser.close()