From db685a12900260c89d61580a3127f529ec8acf8b Mon Sep 17 00:00:00 2001 From: Kharec Date: Fri, 28 Nov 2025 15:26:30 +0100 Subject: [PATCH] test: add p2 unit test --- internal/2020/DayEight/code_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/internal/2020/DayEight/code_test.go b/internal/2020/DayEight/code_test.go index a4cdb4f..1864ecd 100644 --- a/internal/2020/DayEight/code_test.go +++ b/internal/2020/DayEight/code_test.go @@ -21,3 +21,11 @@ func TestPartOne(t *testing.T) { t.Errorf("PartOne() = %d, want %d", got, expected) } } + +func TestPartTwo(t *testing.T) { + expected := 8 + got := PartTwo(testInput) + if got != expected { + t.Errorf("PartOne() = %d, want %d", got, expected) + } +}