Documentation ¶
Index ¶
- type EncodingTest
- type SpecTest
- func HasPartialQuorum() *SpecTest
- func HasPartialQuorum2f1() *SpecTest
- func HasQuorum() *SpecTest
- func HasQuorum3f1() *SpecTest
- func NoPartialQuorum() *SpecTest
- func NoPartialQuorumDuplicate() *SpecTest
- func NoQuorum() *SpecTest
- func NoQuorumDuplicate() *SpecTest
- func PartialQuorumWithDuplicate() *SpecTest
- func QuorumWithDuplicate() *SpecTest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EncodingTest ¶ added in v0.3.0
func (*EncodingTest) Run ¶ added in v0.3.0
func (test *EncodingTest) Run(t *testing.T)
func (*EncodingTest) TestName ¶ added in v0.3.0
func (test *EncodingTest) TestName() string
type SpecTest ¶ added in v0.2.7
func HasPartialQuorum ¶ added in v0.2.7
func HasPartialQuorum() *SpecTest
HasPartialQuorum tests msg with unique f+1 signers
func HasPartialQuorum2f1 ¶ added in v0.2.7
func HasPartialQuorum2f1() *SpecTest
HasPartialQuorum2f1 tests msg with unique 2f+1 signers
func HasQuorum ¶ added in v0.2.7
func HasQuorum() *SpecTest
HasQuorum tests msg with unique 2f+1 signers
func HasQuorum3f1 ¶ added in v0.2.7
func HasQuorum3f1() *SpecTest
HasQuorum3f1 tests msg with unique 3f+1 signers
func NoPartialQuorum ¶ added in v0.2.7
func NoPartialQuorum() *SpecTest
NoPartialQuorum tests msg with < unique f+1 signers
func NoPartialQuorumDuplicate ¶ added in v0.2.7
func NoPartialQuorumDuplicate() *SpecTest
NoPartialQuorumDuplicate tests msg with < unique f+1 signers (but f+1 signers including duplicates)
func NoQuorum ¶ added in v0.2.7
func NoQuorum() *SpecTest
NoQuorum tests msg with < unique 2f+1 signers
func NoQuorumDuplicate ¶ added in v0.2.7
func NoQuorumDuplicate() *SpecTest
NoQuorumDuplicate tests msg with < unique 2f+1 signers (but 2f+1 signers including duplicates)
func PartialQuorumWithDuplicate ¶ added in v0.2.7
func PartialQuorumWithDuplicate() *SpecTest
PartialQuorumWithDuplicate tests msg with unique f+1 signers (but also including duplicates)
func QuorumWithDuplicate ¶ added in v0.2.7
func QuorumWithDuplicate() *SpecTest
QuorumWithDuplicate tests msg with unique 2f+1 signers (but also including duplicates)