1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00

Add testing framework

More tests will arrive shortly...
This commit is contained in:
Étienne Fildadut 2023-12-27 23:19:19 +01:00
parent e71bff9562
commit 53c1c764ba
9 changed files with 263 additions and 1 deletions

13
test/results/persist.ans Normal file
View file

@ -0,0 +1,13 @@
--# run #--
--- text ---
| {}"pouet=" {}"7" {}" (7)"|
--- text ---
| {}"d=" {}"7" {}" (7)"|
--- text ---
| {}"d=" {}"9" {}" (9)"|
--- text ---
| {}"pouet=" {}"9" {}" (9)"|
--- return ---
()
--# saved #--
{"pouet":9}

View file

@ -0,0 +1,37 @@
--# run #--
--- text ---
| {}"<<>>"|
| {}"a"|
--- choice ---
> | {}"A "|
=> | {}"B "|
--- text ---
| {}"boum"|
| {}"h " {}"8" {}""|
--- text ---
| {}"<<>>"|
| {}"a"|
--- choice ---
=> | {}"A "|
> | {}"B "|
--- text ---
| {}"b"|
| {}"c"|
| {}"d"|
| {}"e"|
| {}"f"|
| {}"g"|
| {}"h " {}"8" {}""|
--- text ---
| {}"<<>>"|
| {}"c"|
| {}"d"|
| {}"e"|
| {}"f"|
| {}"g"|
--- text ---
| {}"h " {}"8" {}""|
--- return ---
()
--# saved #--
{}

View file

@ -0,0 +1,11 @@
--# run #--
--- text ---
| {}"c=" {}"2" {}" (2)"|
| {}"l=" {}"*[1, 2, 3]" {}" (*[1,2,3])"|
--- text ---
| {}"c=" {}"5" {}" (5)"|
| {}"l=" {}"*[1, 5, 3]" {}" (*[1,5,3])"|
--- return ---
()
--# saved #--
{}