(b *testing.B)
| 205 | } |
| 206 | |
| 207 | func BenchmarkFastJsonNode2Chilren(b *testing.B) { |
| 208 | for i := 0; i < b.N; i++ { |
| 209 | enc := newEncoder() |
| 210 | root := enc.newNode(enc.idForAttr(testAttr)) |
| 211 | buildTestTree(b, enc, 1, 20, root) |
| 212 | } |
| 213 | } |
| 214 | |
| 215 | func TestChildrenOrder(t *testing.T) { |
| 216 | enc := newEncoder() |
nothing calls this directly
no test coverage detected
searching dependent graphs…