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

Function TestValidators

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

Source from the content-addressed store, hash-verified

37}
38
39func TestValidators(t *testing.T) {
40 SetRunMode(Dev)
41 validators := Validators()
42 assert.Equal(t, devValidators, validators)
43}
44
45func TestBootnodes(t *testing.T) {
46 SetRunMode(Dev)

Callers

nothing calls this directly

Calls 3

ValidatorsFunction · 0.85
SetRunModeFunction · 0.70
EqualMethod · 0.65

Tested by

no test coverage detected