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

Function Test_Observable_AverageFloat32_Error

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

Source from the content-addressed store, hash-verified

80}
81
82func Test_Observable_AverageFloat32_Error(t *testing.T) {
83 defer goleak.VerifyNone(t)
84 ctx, cancel := context.WithCancel(context.Background())
85 defer cancel()
86 Assert(ctx, t, testObservable(ctx, "x").AverageFloat32(), HasAnError())
87}
88
89func Test_Observable_AverageFloat32_Parallel(t *testing.T) {
90 defer goleak.VerifyNone(t)

Callers

nothing calls this directly

Calls 4

AssertFunction · 0.85
testObservableFunction · 0.85
HasAnErrorFunction · 0.85
AverageFloat32Method · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…