String2Int64
(t *testing.T)
| 44 | |
| 45 | //String2Int64 |
| 46 | func Test_String2Int64_1(t *testing.T) { |
| 47 | str := "0200000010" |
| 48 | b, e := String2Int64(str) |
| 49 | |
| 50 | t.Log(str, "String to Int64: ", b) |
| 51 | test.Nil(t, e) |
| 52 | test.Equal(t, int64(200000010), b) |
| 53 | } |
| 54 | |
| 55 | //String2Int64 |
| 56 | func Test_String2Int64_2(t *testing.T) { |
nothing calls this directly
no test coverage detected