This commit is contained in:
Jae Kwon
2014-10-14 13:11:54 -07:00
parent b34988332f
commit 18fc7aec73
2 changed files with 27 additions and 8 deletions

View 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
}