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.
13 lines
267 B
Text
13 lines
267 B
Text
default
|
|
{
|
|
timer()
|
|
{
|
|
if (llGetPermissions() & 6)
|
|
llDie();
|
|
if (llGetUsedMemory() & 2 | llGetUsedMemory() & 4)
|
|
llDie();
|
|
llDie();
|
|
if ((integer)llFrand(2) == (integer)llFrand(2))
|
|
llDie();
|
|
}
|
|
}
|