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.
18 lines
252 B
Text
18 lines
252 B
Text
default
|
|
{
|
|
timer()
|
|
{
|
|
llModPow(5, 7, 3);
|
|
llCos(5);
|
|
}
|
|
|
|
// this one should be kept, as it's not marked as SEF in the test data
|
|
no_sensor()
|
|
{
|
|
}
|
|
|
|
// this one should disappear
|
|
touch(integer k)
|
|
{
|
|
}
|
|
}
|