MCPcopy
hub / github.com/pquerna/ffjson / TestSlicePtr

Function TestSlicePtr

tests/ff_test.go:460–464  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

458}
459
460func TestSlicePtr(t *testing.T) {
461 testType(t, &TslicePtr{X: []*int{}}, &XslicePtr{X: []*int{}})
462 v := 33
463 testCycle(t, &TslicePtr{X: []*int{&v}}, &XslicePtr{X: []*int{}})
464}
465
466func TestSlicePtrNils(t *testing.T) {
467 v1 := 3

Callers

nothing calls this directly

Calls 2

testTypeFunction · 0.85
testCycleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…