mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 15:48:21 +00:00
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.
18 lines
293 B
Text
18 lines
293 B
Text
#define USE_SWITCHES
|
|
#define USE_LAZY_LISTS
|
|
default
|
|
{
|
|
state_entry()
|
|
{
|
|
list a;
|
|
a[1] = 0;
|
|
switch(llGetListLength(a))
|
|
{
|
|
case 1:
|
|
llOwnerSay("1");
|
|
break;
|
|
default:
|
|
llOwnerSay("other");
|
|
}
|
|
}
|
|
}
|