summaryrefslogtreecommitdiff
path: root/finance/test_income.py
diff options
context:
space:
mode:
Diffstat (limited to 'finance/test_income.py')
-rw-r--r--finance/test_income.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/finance/test_income.py b/finance/test_income.py
new file mode 100644
index 0000000..21d42f7
--- /dev/null
+++ b/finance/test_income.py
@@ -0,0 +1,6 @@
+from finance import income
+
+
+def test_income_integration() -> None:
+ inc = income.Income(amount=3000.0)
+ assert inc.integrate(5) == 15000.0