()
| 107 | } |
| 108 | |
| 109 | func 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 | |
| 123 | func TestSerializePrimitives(t *testing.T) { |
| 124 | for _, referenceTracking := range []bool{false, true} { |
no outgoing calls
no test coverage detected