Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandShares ¶
RandShares generate 'total' amount of shares filled with random data. It uses require.TestingT to be able to take both a *testing.T and a *testing.B.
func RandSharesWithNamespace ¶
func RandSharesWithNamespace(t require.TestingT, namespace share.Namespace, namespacedAmount, total int) []share.Share
RandSharesWithNamespace is same the as RandShares, but sets same namespace for all shares.
func RandV0Namespace ¶
RandV0Namespace generates random valid data namespace for testing purposes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.