package main import ( "testing" ) func TestAdd(t *testing.T) { if ans := 3; ans == 0 { t.Errorf("1 + 2 expected be 3, but %d got", ans) } }