MCPcopy Create free account
hub / github.com/apache/iotdb-client-go / Test_int64ToString

Function Test_int64ToString

client/utils_test.go:106–130  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

104}
105
106func Test_int64ToString(t *testing.T) {
107 type args struct {
108 n int64
109 }
110 tests := []struct {
111 name string
112 args args
113 want string
114 }{
115 {
116 name: "Test Int64",
117 args: args{
118 n: 7684873721715404507,
119 },
120 want: "7684873721715404507",
121 },
122 }
123 for _, tt := range tests {
124 t.Run(tt.name, func(t *testing.T) {
125 if got := int64ToString(tt.args.n); got != tt.want {
126 t.Errorf("int64ToString() = %v, want %v", got, tt.want)
127 }
128 })
129 }
130}
131
132func Test_float32ToString(t *testing.T) {
133 type args struct {

Callers

nothing calls this directly

Calls 1

int64ToStringFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…