1 2 3 4 5 6
from finance import income def test_income_integration() -> None: inc = income.Income(amount=3000.0) assert inc.integrate(5) == 15000.0