Documentation ¶
Index ¶
- func AssertAddressesEqual(t *testing.T, exp, act []ma.Multiaddr)
- func AssertNilError(t *testing.T, err error)
- func ExpectError(t *testing.T, err error, msg string)
- func GenerateTestAddrs(n int) []ma.Multiaddr
- func RandPeerID() (peer.ID, error)
- func RandPeerIDFatal(t testing.TB) peer.ID
- func RandTestKeyPair(typ, bits int) (ci.PrivKey, ci.PubKey, error)
- func SeededTestKeyPair(typ, bits int, seed int64) (ci.PrivKey, ci.PubKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertAddressesEqual ¶ added in v0.4.0
func AssertNilError ¶ added in v0.4.0
func GenerateTestAddrs ¶ added in v0.4.0
func RandPeerID ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.