test!: Moved tests/src to tests/main to allow several commits

This commit is contained in:
Alexey 2025-11-28 21:08:30 +03:00
commit 01d3755ea6
5 changed files with 5 additions and 3 deletions

2
tests/main/quests/0.toml Normal file
View file

@ -0,0 +1,2 @@
# This example demonstrates that empty quests will be loaded correctly with default values
# see main.rs

8
tests/main/quests/1.toml Normal file
View file

@ -0,0 +1,8 @@
# This example demonstrates typical quest
# see main.rs
id = 1
difficulty = "Easy"
reward = 100
name = "Example easy quest"
description = "Answer this quest without any attachments or comments"
answer = "Accept the answer if it has no attachments and an empty comment"

8
tests/main/quests/2.toml Normal file
View file

@ -0,0 +1,8 @@
# This example demonstrates incorrect quest which will not be loaded from config
# see main.rs
id = 133713371337
difficulty = sick
reward = an infinite amount of coffee
name = "Impossible quest"
description = "This quest won't be loaded in the game, therefore you can't solve it"
answer = 42