test: Initial unit testing

- Test quests vector loading
- Test default quest on empty fields
- Test correct quest
- Fixed config paths handling
This commit is contained in:
Alexey 2025-11-28 17:00:17 +03:00
commit 94d771107d
7 changed files with 102 additions and 15 deletions

10
tests/cfg/config.toml Normal file
View file

@ -0,0 +1,10 @@
# Default config
# Path to quests folder relative to config
quests_path = "quests"
# Path to accounts folder relative to config
accounts_path = "accounts"
# Path to map .toml file relative to config
map = "map.toml"