mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-05-02 19:00:47 +08:00
⚡ update test files
This commit is contained in:
@@ -73,7 +73,7 @@ println("coroutine state:\e[91m ",coroutine.status(co),"\e[0m");
|
||||
println("ok");
|
||||
|
||||
# pressure test
|
||||
var main=func(){
|
||||
for(var t=0;t<5;t+=1){
|
||||
var productor=func(){
|
||||
for(var i=0;;i+=1)
|
||||
coroutine.yield(i);
|
||||
@@ -96,7 +96,4 @@ var main=func(){
|
||||
while(tm.elapsedMSec()<total)
|
||||
consumer();
|
||||
println();
|
||||
}
|
||||
|
||||
for(var i=0;i<5;i+=1)
|
||||
main();
|
||||
}
|
||||
Reference in New Issue
Block a user