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

Function Test_int32ToString

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

Source from the content-addressed store, hash-verified

78}
79
80func Test_int32ToString(t *testing.T) {
81 type args struct {
82 n int32
83 }
84 tests := []struct {
85 name string
86 args args
87 want string
88 }{
89 {
90 name: "Test Int32",
91 args: args{
92 n: 65535,
93 },
94 want: "65535",
95 },
96 }
97 for _, tt := range tests {
98 t.Run(tt.name, func(t *testing.T) {
99 if got := int32ToString(tt.args.n); got != tt.want {
100 t.Errorf("int32ToString() = %v, want %v", got, tt.want)
101 }
102 })
103 }
104}
105
106func Test_int64ToString(t *testing.T) {
107 type args struct {

Callers

nothing calls this directly

Calls 1

int32ToStringFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…