Skip to content

Latest commit

 

History

History
executable file
·
24 lines (18 loc) · 1.13 KB

README.md

File metadata and controls

executable file
·
24 lines (18 loc) · 1.13 KB

Testing

YScript test cases including unittests, yscript programs samples, and benchmarks.

run-tests.sh

[~/Workspace/yscript/testing]$ ./run-tests.sh --logging

./run-tests.sh --logging
samples[9/9]: 9 success out of 9 cases!
==================================================
[0]: ~/Workspace/yscript/testing/../out/tools/cli/ysrun samples/assignment/global.ys passed!
[1]: ~/Workspace/yscript/testing/../out/tools/cli/ysrun samples/class/inherited_method.ys passed!
[2]: ~/Workspace/yscript/testing/../out/tools/cli/ysrun samples/constructor/call_init_explicitly.ys passed!
[3]: ~/Workspace/yscript/testing/../out/tools/cli/ysrun samples/method/print_bound_method.ys passed!
[4]: ~/Workspace/yscript/testing/../out/tools/cli/ysrun samples/for/closure_in_body.ys passed!
[5]: ~/Workspace/yscript/testing/../out/tools/cli/ysrun samples/function/print.ys passed!
[6]: ~/Workspace/yscript/testing/../out/tools/cli/ysrun samples/inheritance/constructor.ys passed!
[7]: ~/Workspace/yscript/testing/../out/tools/cli/ysrun samples/super/bound_method.ys passed!
[8]: ~/Workspace/yscript/testing/../out/tools/cli/ysrun samples/this/closure.ys passed!