MCPcopy Create free account
hub / github.com/go-python/gopy / TestBindPointers

Function TestBindPointers

main_test.go:356–370  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

354}
355
356func TestBindPointers(t *testing.T) {
357 // t.Parallel()
358 path := "_examples/pointers"
359 testPkg(t, pkg{
360 path: path,
361 lang: features[path],
362 cmd: "build",
363 extras: nil,
364 want: []byte(`s = pointers.S(2)
365s = pointers.S{Value=2, handle=1}
366s.Value = 2
367OK
368`),
369 })
370}
371
372func TestBindNamed(t *testing.T) {
373 // t.Parallel()

Callers

nothing calls this directly

Calls 1

testPkgFunction · 0.85

Tested by

no test coverage detected