Documentation ¶
Index ¶
- func ConsecutiveBlobs(t require.TestingT, n ...int) [][]byte
- func GenTestBlob(t require.TestingT, maxNbBlocks int) []byte
- func GetDict(t require.TestingT) []byte
- func GetRepoRootPath() (string, error)
- func LoadTestBlocks(testDataDir string) (testBlocks [][]byte, err error)
- func RandIntn(n int) int
- func SingleBlockBlob(t require.TestingT) []byte
- func TestBlocksAndBlobMaker(t require.TestingT) ([][]byte, *v1.BlobMaker)
- func TinyTwoBatchBlob(t require.TestingT) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConsecutiveBlobs ¶
ConsecutiveBlobs (t, i, j, k) produces three blobs from the ranges [0:i], [i:i+j], [i+j:i+j+k] of test blocks each block is in its own batch
func GetRepoRootPath ¶
GetRepoRootPath assumes that current working directory is within the repo
func LoadTestBlocks ¶
func SingleBlockBlob ¶
func TestBlocksAndBlobMaker ¶
func TinyTwoBatchBlob ¶
TinyTwoBatchBlob produces a blob with two batches, each consisting of one block
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.