From 899b5501337435563299ce5867ae1e1ae114e6e8 Mon Sep 17 00:00:00 2001 From: Sei Lisa Date: Tue, 29 Nov 2016 22:56:00 +0100 Subject: [PATCH] Add tests for inf < inf and -inf < inf --- testfuncs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testfuncs.py b/testfuncs.py index 6f6653d..37e0600 100644 --- a/testfuncs.py +++ b/testfuncs.py @@ -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')