tendermint/consensus/vote_set_test.go
Jae Kwon 18fc7aec73 ...
2014-10-14 13:11:54 -07:00

25 lines
414 B
Go

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
}