Documentation ¶
Overview ¶
Package neofscryptotest provides a set of helper functions that can make testing easier.
This package is strongly discouraged for use in non-test code.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestPublicKeyMarshal ¶
func TestPublicKeyMarshal(t testing.TB, key neofscrypto.PublicKey, blankCons func() neofscrypto.PublicKey)
TestPublicKeyEncoding asserts binary methods of the neofscrypto.PublicKey implementation.
key and constructor result should be both non-nil pointers.
func TestSigner ¶
func TestSigner(t testing.TB, s neofscrypto.Signer)
TestSigner asserts Sign method of the neofscrypto.Signer implementation and Verify method of the corresponding neofscrypto.PublicKey.
s should not be nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.