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/client/client_test.go

14 lines
237 B

package client
import (
"testing"
)
func TestClient(t *testing.T) {
shardIDs := []uint32{0}
client := NewClient(nil, shardIDs)
if len(client.ShardIDs) != 1 || client.ShardIDs[0] != 0 {
t.Errorf("client initiate incorrect")
}
}