aboutsummaryrefslogtreecommitdiff
path: root/src/config.py
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-09-28 12:24:03 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-09-28 12:24:03 +0200
commitba27f512ef2a23511fc945298cda9937ca36df50 (patch)
tree245da265e2198bba7a1c066f970590331c1e2003 /src/config.py
parent6382d2b7c1910f29556b740513421b57da9c5a97 (diff)
downloadphilosophers_test-ba27f512ef2a23511fc945298cda9937ca36df50.tar.gz
philosophers_test-ba27f512ef2a23511fc945298cda9937ca36df50.tar.bz2
philosophers_test-ba27f512ef2a23511fc945298cda9937ca36df50.zip
Added error checking tests
Diffstat (limited to 'src/config.py')
-rw-r--r--src/config.py9
1 files changed, 8 insertions, 1 deletions
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 <me@cacharle.xyz> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# 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