package main import "testing" func TestNewKey(t *testing.T) { pub, sec, err := NewKey() if err != nil { t.Error(err) } t.Log(pub) t.Log(sec) }