MCPcopy Create free account
hub / github.com/facebook/time / TestAggregateDataPointsMaxNegativeValues

Function TestAggregateDataPointsMaxNegativeValues

fbclock/daemon/state_test.go:185–195  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

183 require.Equal(t, 300.0, got.FreqAdjustmentPPB)
184}
185
186func TestTakeDataPointEmpty(t *testing.T) {
187 s := newDaemonState(5)
188 got := s.takeDataPoint(5)
189 require.Empty(t, got)
190}
191
192func TestTakeMEmpty(t *testing.T) {
193 s := newDaemonState(5)
194 got := s.takeM(5)
195 require.Empty(t, got)
196}
197
198func TestTakeLinearizabilityTestResultEmpty(t *testing.T) {

Callers

nothing calls this directly

Calls 3

newDaemonStateFunction · 0.85
pushDataPointMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…