diff --git a/internal/2021/DayFour/code_test.go b/internal/2021/DayFour/code_test.go index bedace9..1cc4df9 100644 --- a/internal/2021/DayFour/code_test.go +++ b/internal/2021/DayFour/code_test.go @@ -29,3 +29,11 @@ func TestPartOne(t *testing.T) { t.Errorf("PartOne() = %d, want %d", got, expected) } } + +func TestPartTwo(t *testing.T) { + expected := 1924 + got := PartTwo(testInput) + if got != expected { + t.Errorf("PartTwo() = %d, want %d", got, expected) + } +}