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/core/resharding_test.go

18 lines
340 B

package core
import (
"fmt"
"testing"
)
func TestFakeGetInitShardState(t *testing.T) {
ss := fakeGetInitShardState()
for i := range ss {
fmt.Printf("ShardID: %v, NodeList: %v\n", ss[i].ShardID, ss[i].NodeList)
}
}
func TestFakeNewNodeList(t *testing.T) {
nodeList := fakeNewNodeList(42)
fmt.Println("newNodeList: ", nodeList)
}