summaryrefslogtreecommitdiffstats
path: root/day2
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <tom@vanderlee.io>2021-12-03 14:15:14 +0100
committerGravatar Tom van der Lee <tom@vanderlee.io>2021-12-03 14:15:51 +0100
commitb062e0f2abc189f352e019bac6854f469e9dfc8c (patch)
tree95a7a72cf56061278297f6326c8e3f9519432d53 /day2
parentf3c3fa9b94bc61b90a029bb74c98215b45c5be15 (diff)
download2021-b062e0f2abc189f352e019bac6854f469e9dfc8c.tar.gz
2021-b062e0f2abc189f352e019bac6854f469e9dfc8c.tar.bz2
2021-b062e0f2abc189f352e019bac6854f469e9dfc8c.zip
Added tests
Diffstat (limited to 'day2')
-rw-r--r--day2/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/day2/__init__.py b/day2/__init__.py
index 14229a9..d99a0be 100644
--- a/day2/__init__.py
+++ b/day2/__init__.py
@@ -17,6 +17,8 @@ class Assignment(BaseAssignment):
17 return list(super().read_input(example)) 17 return list(super().read_input(example))
18 18
19class AssignmentOne(Assignment): 19class AssignmentOne(Assignment):
20 example_result = 150
21
20 depth = 0 22 depth = 0
21 horizontal = 0 23 horizontal = 0
22 24
@@ -34,6 +36,8 @@ class AssignmentOne(Assignment):
34 36
35 37
36class AssignmentTwo(Assignment): 38class AssignmentTwo(Assignment):
39 example_result = 900
40
37 aim = 0 41 aim = 0
38 depth = 0 42 depth = 0
39 horizontal = 0 43 horizontal = 0