diff options
| author | 2021-12-03 14:15:14 +0100 | |
|---|---|---|
| committer | 2021-12-03 14:15:51 +0100 | |
| commit | b062e0f2abc189f352e019bac6854f469e9dfc8c (patch) | |
| tree | 95a7a72cf56061278297f6326c8e3f9519432d53 /day2/__init__.py | |
| parent | f3c3fa9b94bc61b90a029bb74c98215b45c5be15 (diff) | |
| download | 2021-b062e0f2abc189f352e019bac6854f469e9dfc8c.tar.gz 2021-b062e0f2abc189f352e019bac6854f469e9dfc8c.tar.bz2 2021-b062e0f2abc189f352e019bac6854f469e9dfc8c.zip | |
Added tests
Diffstat (limited to 'day2/__init__.py')
| -rw-r--r-- | day2/__init__.py | 4 |
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 | ||
| 19 | class AssignmentOne(Assignment): | 19 | class 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 | ||
| 36 | class AssignmentTwo(Assignment): | 38 | class 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 |
