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

Function TestFrequencyPPBInvalidClock

clock/clock_test.go:38–41  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

36}
37
38func TestFrequencyPPBInvalidClock(t *testing.T) {
39 _, _, err := FrequencyPPB(-1)
40 require.Error(t, err)
41}
42
43func TestMaxFreqPPBInvalidClock(t *testing.T) {
44 _, _, err := MaxFreqPPB(-1)

Callers

nothing calls this directly

Calls 2

FrequencyPPBFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…