MCPcopy Create free account
hub / github.com/apache/fory / commonArray

Function commonArray

go/fory/fory_test.go:109–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107}
108
109func commonArray() []any {
110 return []any{
111 [100]bool{false, true, true},
112 [100]byte{1, 2, 3},
113 // [100]int8{1, 2, 3},
114 [100]int16{1, 2, 3},
115 [100]int32{1, 2, 3},
116 [100]int64{1, 2, 3},
117 [100]float32{1, 2, 3},
118 [100]float64{1, 2, 3},
119 [100]string{"str1", "str1"},
120 }
121}
122
123func TestSerializePrimitives(t *testing.T) {
124 for _, referenceTracking := range []bool{false, true} {

Callers 2

TestSerializeArrayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected