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

Function TestIsCpchainFalse

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

Source from the content-addressed store, hash-verified

107}
108
109func TestIsCpchainFalse(t *testing.T) {
110 cc := ChainConfig{Dpor: nil, ChainID: big.NewInt(10)}
111 assert.False(t, cc.IsCpchain())
112}
113
114func TestIsCpchainFalse1(t *testing.T) {
115 cc := ChainConfig{Dpor: nil, ChainID: nil}

Callers

nothing calls this directly

Calls 1

IsCpchainMethod · 0.95

Tested by

no test coverage detected