Skip to content

Commit

Permalink
Merge pull request #2 from crerwin/2022_day4
Browse files Browse the repository at this point in the history
stub out 2022 day 4
  • Loading branch information
crerwin authored Nov 28, 2023
2 parents b54154e + 9fe830d commit 9724a90
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
3 changes: 2 additions & 1 deletion advent/advent2022/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from .day1 import Day1
from .day2 import Day2
from .day3 import Day3
from .day4 import Day4

days = {1: Day1, 2: Day2, 3: Day3}
days = {1: Day1, 2: Day2, 3: Day3, 4: Day4}
6 changes: 6 additions & 0 deletions advent/advent2022/day4.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from advent.day import Day


class Day4(Day):
year = 2022
day = 4
Empty file added inputs/2022/day4input.txt
Empty file.
10 changes: 10 additions & 0 deletions tests/test_2022day4.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import unittest
import pytest
from .test_day import DayTest
from advent.advent2022 import day4

@pytest.mark.day
class TestDay4(DayTest):
test_day = day4.Day4()
expected_part_1 = "Advent 2022 Day 4 part 1 not yet implemented."
expected_part_2 = "Advent 2022 Day 4 part 2 not yet implemented."

0 comments on commit 9724a90

Please sign in to comment.