From f5bfe1e57861ed18a7363cc0081f23a3a262cace Mon Sep 17 00:00:00 2001 From: Kharec Date: Thu, 4 Dec 2025 06:48:41 +0100 Subject: [PATCH] test: unit test for part two --- internal/2025/DayFour/code_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/internal/2025/DayFour/code_test.go b/internal/2025/DayFour/code_test.go index 40b1556..49a05d0 100644 --- a/internal/2025/DayFour/code_test.go +++ b/internal/2025/DayFour/code_test.go @@ -22,3 +22,11 @@ func TestPartOne(t *testing.T) { t.Errorf("PartOne() = %d, want %d", got, expected) } } + +func TestPartTwo(t *testing.T) { + expected := 43 + got := PartTwo(testInput) + if got != expected { + t.Errorf("PartTwo() = %d, want %d", got, expected) + } +}