(t *testing.T)
| 18 | } |
| 19 | |
| 20 | func Test_String2Int_1(t *testing.T) { |
| 21 | str := "1234567890" |
| 22 | b, e := String2Int(str) |
| 23 | |
| 24 | t.Log(str, " String to Int: ", b) |
| 25 | test.Nil(t, e) |
| 26 | test.Equal(t, 1234567890, b) |
| 27 | } |
| 28 | |
| 29 | func Test_String2Int_2(t *testing.T) { |
| 30 | str := "1234567890ssss" |
nothing calls this directly
no test coverage detected