mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 15:48:21 +00:00
Remove duplicate test, add test for LSO llListFindList
The test for two empty lists passed to llListFindList was duplicated. That case generates -1 under LSO, and that wasn't tested, so we add that as a test now. Check also that another corner case behaves properly under LSO.
This commit is contained in:
parent
19dec1d79e
commit
b623d6ae5c
1 changed files with 4 additions and 1 deletions
|
@ -1140,7 +1140,10 @@ def do_tests():
|
|||
test('llModPow(41, 1, 17)', 7)
|
||||
lslcommon.IsCalc = False
|
||||
|
||||
test('llListFindList([], [])', 0)
|
||||
lslcommon.LSO = True
|
||||
test('llListFindList([],[])', -1)
|
||||
test('llListFindList([3],[])', 0)
|
||||
lslcommon.LSO = False
|
||||
test('llListFindList([NaN], [NaN])', 0) # I swear.
|
||||
test('llListFindList([NaN, Indet], [Indet, NaN])', 0) # Indeed.
|
||||
test('llListFindList([-0.], [0.])', 0) # Really.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue