mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +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
893 B
Text
34 lines
893 B
Text
default
|
|
{
|
|
state_entry()
|
|
{
|
|
integer i = 0;
|
|
{
|
|
while (i < 10)
|
|
{
|
|
integer j = 0;
|
|
{
|
|
while (j < 10)
|
|
{
|
|
if (j == 5)
|
|
jump J_autoGen00001;
|
|
if (j == 6)
|
|
jump J_autoGen00002;
|
|
if (j == 7)
|
|
jump J_autoGen00003;
|
|
if (j == 8)
|
|
jump J_autoGen00004;
|
|
++j;
|
|
@J_autoGen00004;
|
|
}
|
|
@J_autoGen00003;
|
|
}
|
|
++i;
|
|
if (llFrand(5) < 3)
|
|
jump J_autoGen00001;
|
|
@J_autoGen00002;
|
|
}
|
|
@J_autoGen00001;
|
|
}
|
|
}
|
|
}
|