mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 21:01:21 +00:00
...
This commit is contained in:
24
consensus/vote_set_test.go
Normal file
24
consensus/vote_set_test.go
Normal file
@ -0,0 +1,24 @@
|
||||
package consensus
|
||||
|
||||
import (
|
||||
. "github.com/tendermint/tendermint/state"
|
||||
|
||||
"testing"
|
||||
)
|
||||
|
||||
func makeValidator(id uint64, votingPower uint64) (*Validator, *PrivAccount) {
|
||||
privAccount := GenPrivAccount()
|
||||
privAccount.Id = id
|
||||
return &Validator{
|
||||
Account: privAccount.Account,
|
||||
VotingPower: votingPower,
|
||||
}, privAccount
|
||||
}
|
||||
|
||||
func TestAddVote(t *testing.T) {
|
||||
// XXX
|
||||
}
|
||||
|
||||
func Test2_3Majority(t *testing.T) {
|
||||
// XXX
|
||||
}
|
Reference in New Issue
Block a user