diff --git a/internal/2018/DayFive/code_test.go b/internal/2018/DayFive/code_test.go index eabe7ea..7861ff8 100644 --- a/internal/2018/DayFive/code_test.go +++ b/internal/2018/DayFive/code_test.go @@ -11,3 +11,11 @@ func TestPartOne(t *testing.T) { t.Errorf("PartOne() = %d, want %d", got, expected) } } + +func TestPartTwo(t *testing.T) { + expected := 4 + got := PartTwo(testInput) + if got != expected { + t.Errorf("PartTwo() = %d, want %d", got, expected) + } +}