MCPcopy Create free account
hub / github.com/eapache/channels / TestPipe

Function TestPipe

channels_test.go:53–60  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

51}
52
53func TestPipe(t *testing.T) {
54 a := NewNativeChannel(None)
55 b := NewNativeChannel(None)
56
57 Pipe(a, b)
58
59 testChannelPair(t, "pipe", a, b)
60}
61
62func TestWeakPipe(t *testing.T) {
63 a := NewNativeChannel(None)

Callers

nothing calls this directly

Calls 3

NewNativeChannelFunction · 0.85
PipeFunction · 0.85
testChannelPairFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…