mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
Add tests for inf < inf and -inf < inf
This commit is contained in:
parent
52c38b0980
commit
899b550133
1 changed files with 2 additions and 0 deletions
|
@ -525,6 +525,8 @@ def do_tests():
|
||||||
test('div(1,-9)', 0)
|
test('div(1,-9)', 0)
|
||||||
test('div(8,-9)', 0)
|
test('div(8,-9)', 0)
|
||||||
test('div(9,-9)', -1)
|
test('div(9,-9)', -1)
|
||||||
|
test('less(Infinity, Infinity)', 0)
|
||||||
|
test('less(-Infinity, Infinity)', 1)
|
||||||
test(r'zstr(Key(u"xy\0zzy"))', Key(u'xy'))
|
test(r'zstr(Key(u"xy\0zzy"))', Key(u'xy'))
|
||||||
test('typecast(Infinity, unicode)', u'Infinity')
|
test('typecast(Infinity, unicode)', u'Infinity')
|
||||||
test('typecast(NaN, unicode)', u'NaN')
|
test('typecast(NaN, unicode)', u'NaN')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue