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/identitychain/identitychain_test.go

19 lines
282 B

6 years ago
package identitychain
import (
"fmt"
"os"
6 years ago
"testing"
"github.com/simple-rules/harmony-benchmark/p2p"
6 years ago
)
func TestIDCFormed(test *testing.T) {
peer := p2p.Peer{Ip: "127.0.0.1", Port: "8080"}
IDC := New(peer)
if IDC == nil {
fmt.Println("IDC not formed.")
os.Exit(1)
}
6 years ago
}