MCPcopy Create free account
hub / github.com/devfeel/dotweb / Test_String2Int64_2

Function Test_String2Int64_2

framework/convert/convert_test.go:56–63  ·  view source on GitHub ↗

String2Int64

(t *testing.T)

Source from the content-addressed store, hash-verified

54
55//String2Int64
56func Test_String2Int64_2(t *testing.T) {
57 str := "a0200000010"
58 b, e := String2Int64(str)
59
60 t.Log(str, "String to Int64: ", b)
61 test.NotNil(t, e)
62 test.Equal(t, int64(0), b)
63}
64
65//Int642String
66func Test_Int642String_1(t *testing.T) {

Callers

nothing calls this directly

Calls 3

NotNilFunction · 0.92
EqualFunction · 0.92
String2Int64Function · 0.85

Tested by

no test coverage detected