原书出处
Go语言编程 完整版
.go package simplemath import "testing"
func TestAdd1(t *testing.T) { r := Add(1, 2) if r != 3 { t.Errorf("Add(1, 2) failed. Got %d, expected 3.", r)
} } 代码清单1-8 sqrt.go // sqrt.go package s
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Go语言编程 完整版/_epub-src/text/part0000_split_000.html
EPUB SHA-256:81f5e4b37dc3bdb8c174f7ac04bf4df1eb84dbe1564b84b2299480108ce8b096