From ba27f512ef2a23511fc945298cda9937ca36df50 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 28 Sep 2020 12:24:03 +0200 Subject: Added error checking tests --- src/config.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/config.py') diff --git a/src/config.py b/src/config.py index 1235307..f718296 100644 --- a/src/config.py +++ b/src/config.py @@ -6,7 +6,7 @@ # By: charles +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2020/09/27 11:05:38 by charles #+# #+# # -# Updated: 2020/09/27 18:00:53 by charles ### ########.fr # +# Updated: 2020/09/28 12:06:05 by cacharle ### ########.fr # # # # ############################################################################ # @@ -44,3 +44,10 @@ PHILO_EXEC_PATHS = [ os.path.join(PHILO_PATHS[1], "philo_two"), os.path.join(PHILO_PATHS[2], "philo_three") ] + +INT_MIN = -2147483648 +INT_MAX = 2147483647 +UINT_MAX = 4294967295 +LONG_MIN = -9223372036854775808 +LONG_MAX = 9223372036854775807 +ULONG_MAX = 18446744073709551615 -- cgit