aboutsummaryrefslogtreecommitdiff
path: root/budget/tests/test.toml
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-10-05 21:20:59 +0300
committerYaroslav <contact@yaroslavps.com>2020-10-05 21:20:59 +0300
commit408b0ac993496b108ec1e479151d549e9535051a (patch)
tree6f19aa190a7f5707cc037f3f9590a89187582254 /budget/tests/test.toml
downloadfinbudg-408b0ac993496b108ec1e479151d549e9535051a.tar.gz
finbudg-408b0ac993496b108ec1e479151d549e9535051a.zip
initial commitv0.1.0
Diffstat (limited to 'budget/tests/test.toml')
-rw-r--r--budget/tests/test.toml53
1 files changed, 53 insertions, 0 deletions
diff --git a/budget/tests/test.toml b/budget/tests/test.toml
new file mode 100644
index 0000000..7dd5774
--- /dev/null
+++ b/budget/tests/test.toml
@@ -0,0 +1,53 @@
+start_date = 2020-10-01
+end_date = 2020-10-31
+budget = 420.0
+essential_categories = [
+ "products",
+ "transport",
+ "utilities",
+]
+
+[[days]]
+date = 2020-10-01
+
+ [[days.expenses]]
+ name = "Potato masher"
+ price = 3.81
+ category = "supplies"
+
+ [[days.expenses]]
+ name = "Bacon"
+ price = 3.33
+ category = "products"
+ shared = 2
+
+ [[days.expenses]]
+ name = "Yoghurt"
+ price = 1.24
+ category = "products"
+ qty = 2
+
+ [[days.expenses]]
+ name = "Onion"
+ price = 0.15
+ category = "products"
+
+ [[days.expenses]]
+ name = "Chicken"
+ price = 2.28
+ category = "products"
+ shared = 2
+
+[[days]]
+date = 2020-10-02
+
+ [[days.expenses]]
+ name = "VPS"
+ price = 5.0
+ category = "utilities"
+ recurring = true
+
+ [[days.expenses]]
+ name = "Transport card"
+ price = 6.9
+ category = "transport"