1 2 3 4 5 6 7 8 9 10 11 12
package main import ( "./d" "fmt" ) func main() { if got, want := d.BuildInt(), 42; got != want { panic(fmt.Sprintf("got %d, want %d", got, want)) } }