LSL-PyOptimizer/unit_tests/regression.suite/cast-list2xxx-explicit.lsl
Sei Lisa 1867dc78e7 Add the new test suite.
This test suite has been in use for a long time now, in place of the obsolete and unmanageable testparser.py and testfuncs.py. It verifies the complete optimizer output to stdout and stderr, to ensure that the output matches the expectations.

See unit_tests/README.txt for more info.
2019-01-04 20:27:36 +01:00

14 lines
311 B
Text

default{timer(){
list L = llDeleteSubList(llGetPhysicsMaterial(), 0, -1)
+ [3];
// this should produce (key)"3" -> can't be switched to llList2Key
key a = llList2String(L, 0);
// this should produce "" -> can't be switched to llList2String
string b = llList2Key(L, 0);
llParticleSystem([a,b]);
}}