package peer import "testing" func TestID(t *testing.T) { id := NewID() if len(id) != 20 { t.Error("wrong length") } t.Log(string(id)) }