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) + } +}