diff --git a/advent/advent2022/__init__.py b/advent/advent2022/__init__.py index 271ea01..f41d237 100644 --- a/advent/advent2022/__init__.py +++ b/advent/advent2022/__init__.py @@ -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} diff --git a/advent/advent2022/day4.py b/advent/advent2022/day4.py new file mode 100644 index 0000000..d3c30a4 --- /dev/null +++ b/advent/advent2022/day4.py @@ -0,0 +1,6 @@ +from advent.day import Day + + +class Day4(Day): + year = 2022 + day = 4 diff --git a/inputs/2022/day4input.txt b/inputs/2022/day4input.txt new file mode 100644 index 0000000..e69de29 diff --git a/tests/test_2022day4.py b/tests/test_2022day4.py new file mode 100644 index 0000000..754bac4 --- /dev/null +++ b/tests/test_2022day4.py @@ -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."