The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
woop/api/proto/message/client_test.go

19 lines
204 B

package message
import (
"testing"
)
const (
testIP = "127.0.0.1"
)
func TestClient(t *testing.T) {
s := NewServer()
s.Start()
client := NewClient(testIP)
client.Process(&Message{})
s.Stop()
}