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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user