MCPcopy Create free account
hub / github.com/ReactiveX/RxGo / Test_Observable_AverageFloat64_Error

Function Test_Observable_AverageFloat64_Error

observable_operator_test.go:128–133  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

126}
127
128func Test_Observable_AverageFloat64_Error(t *testing.T) {
129 defer goleak.VerifyNone(t)
130 ctx, cancel := context.WithCancel(context.Background())
131 defer cancel()
132 Assert(ctx, t, testObservable(ctx, "x").AverageFloat64(), HasAnError())
133}
134
135func Test_Observable_AverageFloat64_Parallel(t *testing.T) {
136 defer goleak.VerifyNone(t)

Callers

nothing calls this directly

Calls 4

AssertFunction · 0.85
testObservableFunction · 0.85
HasAnErrorFunction · 0.85
AverageFloat64Method · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…