Add tests for inf < inf and -inf < inf

This commit is contained in:
Sei Lisa 2016-11-29 22:56:00 +01:00
parent 52c38b0980
commit 899b550133

View file

@ -525,6 +525,8 @@ def do_tests():
test('div(1,-9)', 0)
test('div(8,-9)', 0)
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('typecast(Infinity, unicode)', u'Infinity')
test('typecast(NaN, unicode)', u'NaN')