Run llFrand test just once.

It doesn't make sense to check the output multiple times. It would if lslcommon.IsCalc were set to True, because then it wouldn't be distinguishable from a randomly obtained value. But in non-calc mode, it would raise ELSLCantCompute if it were unpredictable, so it's OK to check just once because if it doesn't raise, it's predictable and can be checked.
This commit is contained in:
Sei Lisa 2017-01-14 03:56:33 +01:00
parent 2b0633e2f9
commit 742532d48e

View file

@ -930,7 +930,6 @@ def do_tests():
test('llFrand(-Infinity)', 0.0)
test('llFrand(-NaN)', -NaN)
test('llFrand(NaN)', NaN)
for i in range(10):
test('llFrand(F32(1.4e-45))', 0.0)
test('llFrand(F32(1.1754942106924411e-38))', 0.0)