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.
34 lines
321 B
Text
34 lines
321 B
Text
default
|
|
{
|
|
state_entry()
|
|
{
|
|
if (llFrand(1) > 0.5) state s2;
|
|
if (llFrand(1) > 0.5) state s3;
|
|
if (llFrand(1) > 0.5) state s4;
|
|
}
|
|
}
|
|
|
|
state s2
|
|
{
|
|
timer()
|
|
{
|
|
}
|
|
}
|
|
|
|
state s3
|
|
{
|
|
state_entry()
|
|
{
|
|
}
|
|
|
|
state_exit()
|
|
{
|
|
}
|
|
}
|
|
|
|
state s4
|
|
{
|
|
touch(integer n)
|
|
{
|
|
}
|
|
}
|