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.
35 lines
321 B
Plaintext
35 lines
321 B
Plaintext
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)
|
|
{
|
|
}
|
|
}
|