From 42306e2ff8716ce9a8f57da791122cc88308890c Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Thu, 20 Jun 2019 19:48:53 -0400 Subject: QUtil: add unsigned int/string functions --- libtests/qtest/qutil/qutil.out | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'libtests/qtest') diff --git a/libtests/qtest/qutil/qutil.out b/libtests/qtest/qutil/qutil.out index c35f22e3..4d19617d 100644 --- a/libtests/qtest/qutil/qutil.out +++ b/libtests/qtest/qutil/qutil.out @@ -17,12 +17,17 @@ one compare okay -2147483648 to int: PASSED 2147483647 to int: PASSED -2147483648 to int threw: PASSED --2147483649 to int threw: PASSED -9999999999999999999999999 to int threw: PASSED +2147483648 to int threw (integer out of range converting 2147483648 from a 8-byte signed type to a 4-byte signed type): PASSED +-2147483649 to int threw (integer out of range converting -2147483649 from a 8-byte signed type to a 4-byte signed type): PASSED +9999999999999999999999999 to int threw (overflow/underflow converting 9999999999999999999999999 to 64-bit integer): PASSED 2147483648 to int: PASSED -2147483649 to int: PASSED -99999999999999999999999999999999999999999999999999 to int threw: PASSED +99999999999999999999999999999999999999999999999999 to int threw (overflow/underflow converting 99999999999999999999999999999999999999999999999999 to 64-bit integer): PASSED +16059 to int: PASSED +-16059 to int threw (underflow converting -16059 to 64-bit unsigned integer): PASSED +9999999999 to int threw (integer out of range converting 9999999999 from a 8-byte unsigned type to a 4-byte unsigned type): PASSED +16059 to int: PASSED +-16059 to int threw (underflow converting -16059 to 64-bit unsigned integer): PASSED ---- os wrapper before remove exception: remove file: No such file or directory -- cgit v1.2.3-54-g00ecf