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

Function TestArrayPtr

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

Source from the content-addressed store, hash-verified

440}
441
442func TestArrayPtr(t *testing.T) {
443 testType(t, &TarrayPtr{X: [3]*int{}}, &XarrayPtr{X: [3]*int{}})
444 v := 33
445 testCycle(t, &TarrayPtr{X: [3]*int{&v}}, &XarrayPtr{X: [3]*int{}})
446}
447
448func TestSlice(t *testing.T) {
449 testType(t, &Tslice{X: []int{}}, &Xslice{X: []int{}})

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…