Unit tests

This commit is contained in:
2026-03-18 15:21:58 +11:00
parent 3f678e0cd7
commit 7443722dd5
10 changed files with 105 additions and 36 deletions

View File

@@ -1,27 +1,15 @@
set &x 5
PAUSE
fun !dingle -function -int &a
PAUSE
fun !capture -int -int &b
PAUSE
add $a $b &tmp
add $tmp $x &tmp
return $tmp
endfun
return $capture
endfun
set &x 10
call !dingle 3 &result
PAUSE
call !result 5 &y
println $y
println $y $x