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.
11 lines
283 B
Plaintext
11 lines
283 B
Plaintext
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();
|
|
|
|
}}
|