那因為1 + 2 會等於3,所以就寫說如果答案是3 就印success,否則就印fail. package test import "testing" func TestAdd(t *testing.T) { n := Add(1, 2) if n == 3 ...
確定! 回上一頁