MCPcopy Index your code
hub / github.com/go-python/gopy / TestBindSimple

Function TestBindSimple

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

Source from the content-addressed store, hash-verified

316}
317
318func TestBindSimple(t *testing.T) {
319 // t.Parallel()
320 path := "_examples/simple"
321 testPkg(t, pkg{
322 path: path,
323 lang: features[path],
324 cmd: "build",
325 extras: nil,
326 want: []byte(`doc(pkg):
327'\nsimple is a simple package.\n\n'
328pkg.Func()...
329fct = pkg.Func...
330fct()...
331pkg.Add(1,2)= 3
332pkg.Bool(True)= True
333pkg.Bool(False)= False
334pkg.Comp64Add((3+4j), (2+5j)) = (5+9j)
335pkg.Comp128Add((3+4j), (2+5j)) = (5+9j)
336OK
337`),
338 })
339}
340
341func TestBindEmpty(t *testing.T) {
342 // t.Parallel()

Callers

nothing calls this directly

Calls 1

testPkgFunction · 0.85

Tested by

no test coverage detected