Merge branch 'master' of github.com:simple-rules/harmony-benchmark

pull/61/head
Rongjian Lan 6 years ago
commit 9dca1392ab
  1. 13
      waitnode/waitNode_test.go

@ -5,16 +5,5 @@ import (
)
func TestNewNode(test *testing.T) {
addressNode := &address{IP: "1", Port: "2"}
ID := 1
node := New(addressNode, ID)
if node.Address == nil {
test.Error("Address is not initialized for the node")
}
if node.ID != 1 {
test.Error("ID is not initialized for the node")
}
if node.Worker != "pow" {
test.Error("Worker is not initialized for the node")
}
}

Loading…
Cancel
Save