mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-11 22:37:11 +00:00
18 lines
271 B
Go
18 lines
271 B
Go
package v2
|
|
|
|
import "testing"
|
|
|
|
// XXX: This makes assumptions about the message routing
|
|
func TestReactor(t *testing.T) {
|
|
reactor := Reactor{}
|
|
reactor.Start()
|
|
script := []Event{
|
|
// TODO
|
|
}
|
|
|
|
for _, event := range script {
|
|
reactor.Receive(event)
|
|
}
|
|
reactor.Wait()
|
|
}
|