// LeetCode 42 單元測試(Go testing) package main import "testing" func TestExample(t *testing.T) { // TODO: input := []int{} // got := solve(input) // want := 0 // if got != want { t.Fatalf("want %v got %v", want, got) } }