mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-04 12:14:36 -07: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.
10 lines
283 B
Text
10 lines
283 B
Text
default{touch(integer n){
|
|
|
|
if (llSameGroup(llGetOwner()) && llDetectedGroup(0)) llDie();
|
|
|
|
// TODO
|
|
// llGetEnergy() has min=0 and max=1, therefore (integer)llGetEnergy() is bool,
|
|
// however we don't yet handle it.
|
|
if ((integer)llGetEnergy() && llSameGroup(llGetOwner())) llDie();
|
|
|
|
}}
|