mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 16:49:31 +00:00
Update tests
This commit is contained in:
parent
f372a32b48
commit
82b68e09a3
10 changed files with 158 additions and 124 deletions
7
test/results/closure capture environment.ans
Normal file
7
test/results/closure capture environment.ans
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"" {}"12" {}"" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{}
|
||||
28
test/results/resume from paragraph with nested choice 2.ans
Normal file
28
test/results/resume from paragraph with nested choice 2.ans
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"g:" |
|
||||
--- choice ---
|
||||
> | {}"a" |
|
||||
=> | {}"b" |
|
||||
--- text ---
|
||||
| {}"-> b" |
|
||||
| {}"autoflush" |
|
||||
--- choice ---
|
||||
=> | {}"c" |
|
||||
--- text ---
|
||||
| {}"-> c" |
|
||||
| {}"g from #p:" |
|
||||
--- choice ---
|
||||
> | {}"aa" |
|
||||
=> | {}"ab" |
|
||||
--- text ---
|
||||
| {}"-> ab" |
|
||||
| {}"autoflush" |
|
||||
--- choice ---
|
||||
=> | {}"c" |
|
||||
--- text ---
|
||||
| {}"-> c" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{"g.checkpoint":#p, "g.run":2}
|
||||
24
test/results/resume from paragraph with nested choice 3.ans
Normal file
24
test/results/resume from paragraph with nested choice 3.ans
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"h:" |
|
||||
--- choice ---
|
||||
=> | {}"a" |
|
||||
> | {}"b" |
|
||||
> | {}"c" |
|
||||
--- text ---
|
||||
| {}"-> a" |
|
||||
--- choice ---
|
||||
=> | {}"aa" |
|
||||
> | {}"ab" |
|
||||
--- text ---
|
||||
| {}"-> aa" |
|
||||
| {}"h from #p:" |
|
||||
--- choice ---
|
||||
=> | {}"aa" |
|
||||
> | {}"ab" |
|
||||
--- text ---
|
||||
| {}"-> aa" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{"h.checkpoint":#p, "h.reached":*{#p:1}, "h.run":2}
|
||||
24
test/results/resume from paragraph with nested choice 4.ans
Normal file
24
test/results/resume from paragraph with nested choice 4.ans
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
--# run #--
|
||||
--- text ---
|
||||
| {}"i:" |
|
||||
--- choice ---
|
||||
=> | {}"a" |
|
||||
> | {}"b" |
|
||||
> | {}"c" |
|
||||
--- text ---
|
||||
| {}"-> a" |
|
||||
--- choice ---
|
||||
=> | {}"aa" |
|
||||
> | {}"ab" |
|
||||
--- text ---
|
||||
| {}"-> aa" |
|
||||
| {}"i from #p:" |
|
||||
--- choice ---
|
||||
=> | {}"aa" |
|
||||
> | {}"ab" |
|
||||
--- text ---
|
||||
| {}"-> aa" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{"i.checkpoint":#p, "i.reached":*{#p:1}, "i.run":2}
|
||||
|
|
@ -16,70 +16,11 @@
|
|||
=> | {}"ab" |
|
||||
--- text ---
|
||||
| {}"-> ab" |
|
||||
--- text ---
|
||||
| {}"g:" |
|
||||
--- choice ---
|
||||
> | {}"a" |
|
||||
=> | {}"b" |
|
||||
--- text ---
|
||||
| {}"-> b" |
|
||||
| {}"autoflush" |
|
||||
--- choice ---
|
||||
=> | {}"c" |
|
||||
--- text ---
|
||||
| {}"-> c" |
|
||||
| {}"g from #p:" |
|
||||
--- choice ---
|
||||
> | {}"aa" |
|
||||
=> | {}"ab" |
|
||||
--- text ---
|
||||
| {}"-> ab" |
|
||||
| {}"autoflush" |
|
||||
--- choice ---
|
||||
=> | {}"c" |
|
||||
--- text ---
|
||||
| {}"-> c" |
|
||||
--- text ---
|
||||
| {}"h:" |
|
||||
--- choice ---
|
||||
=> | {}"a" |
|
||||
> | {}"b" |
|
||||
> | {}"c" |
|
||||
--- text ---
|
||||
| {}"-> a" |
|
||||
--- choice ---
|
||||
=> | {}"aa" |
|
||||
> | {}"ab" |
|
||||
--- text ---
|
||||
| {}"-> aa" |
|
||||
| {}"h from #p:" |
|
||||
--- choice ---
|
||||
=> | {}"aa" |
|
||||
> | {}"ab" |
|
||||
> | {}"c" |
|
||||
--- text ---
|
||||
| {}"-> aa" |
|
||||
--- text ---
|
||||
| {}"i:" |
|
||||
--- choice ---
|
||||
=> | {}"a" |
|
||||
> | {}"b" |
|
||||
> | {}"c" |
|
||||
--- text ---
|
||||
| {}"-> a" |
|
||||
--- choice ---
|
||||
=> | {}"aa" |
|
||||
> | {}"ab" |
|
||||
--- text ---
|
||||
| {}"-> aa" |
|
||||
| {}"i from #p:" |
|
||||
--- choice ---
|
||||
=> | {}"aa" |
|
||||
> | {}"ab" |
|
||||
> | {}"c" |
|
||||
--- text ---
|
||||
| {}"-> aa" |
|
||||
--- return ---
|
||||
()
|
||||
--# saved #--
|
||||
{"f.checkpoint":#p, "f.run":2, "g.checkpoint":#p, "g.run":2, "h.checkpoint":#p, "h.reached":*{#p:1}, "h.run":2, "i.checkpoint":#p, "i.reached":*{#p:1}, "i.run":2}
|
||||
{"f.checkpoint":#p, "f.run":2}
|
||||
Loading…
Add table
Add a link
Reference in a new issue