MCPcopy Create free account
hub / github.com/distributedio/titan / CallTest

Function CallTest

command/test_test.go:39–43  ·  view source on GitHub ↗
(name string, args ...string)

Source from the content-addressed store, hash-verified

37}
38
39func CallTest(name string, args ...string) *bytes.Buffer {
40 ctx := ContextTest(name, args...)
41 Call(ctx)
42 return ctx.Out.(*bytes.Buffer)
43}
44
45func ctxString(buf io.Writer) string {
46 return buf.(*bytes.Buffer).String()

Callers 5

TestStringAppendFunction · 0.85
TestStringSetBitFunction · 0.85
TestStringGetBitFunction · 0.85
TestStringBitCountFunction · 0.85
TestStringBitPosFunction · 0.85

Calls 2

ContextTestFunction · 0.85
CallFunction · 0.85

Tested by

no test coverage detected