原书出处
通过测试学习 Go 编程
9 结构体,方法和接口
func TestArea(t *testing.T) { areaTests := []struct { shape Shape want float64 }{ {Rectangle{12, 6}, 72.0}, {Circle{10}, 314.1592653589793}, } for _,
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/通过测试学习 Go 编程/_epub-src/OEBPS/Text/08.html
EPUB SHA-256:ae0739d017ac4a78eee8dadaa06db073c6a3c918211f81574470675856959cf4