aboutsummaryrefslogtreecommitdiff
path: root/src/test/philo.py
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-09-27 13:28:36 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-09-27 13:28:36 +0200
commit861621b9bdbdc7336183597b3ffd4ee161be19f3 (patch)
tree1518b6535d980e9f6f5b8c3f421ae7481b63d4b6 /src/test/philo.py
downloadphilosophers_test-861621b9bdbdc7336183597b3ffd4ee161be19f3.tar.gz
philosophers_test-861621b9bdbdc7336183597b3ffd4ee161be19f3.tar.bz2
philosophers_test-861621b9bdbdc7336183597b3ffd4ee161be19f3.zip
Initial commit
Diffstat (limited to 'src/test/philo.py')
-rw-r--r--src/test/philo.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/test/philo.py b/src/test/philo.py
new file mode 100644
index 0000000..c103bec
--- /dev/null
+++ b/src/test/philo.py
@@ -0,0 +1,23 @@
+# ############################################################################ #
+# #
+# ::: :::::::: #
+# philo.py :+: :+: :+: #
+# +:+ +:+ +:+ #
+# By: charles <me@cacharle.xyz> +#+ +:+ +#+ #
+# +#+#+#+#+#+ +#+ #
+# Created: 2020/09/27 12:54:12 by charles #+# #+# #
+# Updated: 2020/09/27 12:59:50 by charles ### ########.fr #
+# #
+# ############################################################################ #
+
+class Philo:
+ def __init__(id_: int):
+ self.id = id_
+ self.last_event = None
+ self.last_eat_date = None
+
+ def add_log(self, match):
+ pass
+
+ def check(self):
+ return True