Port Round 1 to Python (OrderDomain): 7 tests green, START state preserved

This commit is contained in:
2026-10-01 13:42:21 +01:00
parent 2831b8c3f9
commit 974053625d
5 changed files with 162 additions and 0 deletions
@@ -0,0 +1,11 @@
from decimal import Decimal
from order_domain import Order
def test_completed_order_total_is_correct():
order = Order()
order.add_line(Decimal("100"), 1)
order.complete()
assert order.is_fully_paid(Decimal("100"))