MCPcopy Create free account
hub / github.com/CPChain/chain / TestCandidates

Function TestCandidates

configs/general_test.go:27–31  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

25}
26
27func TestCandidates(t *testing.T) {
28 SetRunMode(Dev)
29 addr := Candidates()
30 assert.Equal(t, devDefaultCandidates, addr)
31}
32
33func TestProposers(t *testing.T) {
34 SetRunMode(Dev)

Callers

nothing calls this directly

Calls 3

CandidatesFunction · 0.85
SetRunModeFunction · 0.70
EqualMethod · 0.65

Tested by

no test coverage detected