diff --git a/internal/2022/DayTwo/code_test.go b/internal/2022/DayTwo/code_test.go index 6c11704..c2c09a2 100644 --- a/internal/2022/DayTwo/code_test.go +++ b/internal/2022/DayTwo/code_test.go @@ -15,3 +15,11 @@ func TestPartOne(t *testing.T) { t.Errorf("PartOne() = %d, want %d", got, expected) } } + +func TestPartTwo(t *testing.T) { + expected := 12 + got := PartTwo(testInput) + if got != expected { + t.Errorf("PartTwo() = %d, want %d", got, expected) + } +}