MCPcopy Create free account
hub / github.com/MiniCodeMonkey/chief / TestManagerGetRunningCount

Function TestManagerGetRunningCount

internal/loop/manager_test.go:171–178  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

169}
170
171func TestManagerGetRunningCount(t *testing.T) {
172 m := NewManager(10, testProvider)
173
174 count := m.GetRunningCount()
175 if count != 0 {
176 t.Errorf("expected 0, got %d", count)
177 }
178}
179
180func TestManagerIsAnyRunning(t *testing.T) {
181 m := NewManager(10, testProvider)

Callers

nothing calls this directly

Calls 2

GetRunningCountMethod · 0.95
NewManagerFunction · 0.85

Tested by

no test coverage detected