testing

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateTestRandomFileChunk

func GenerateTestRandomFileChunk(address boson.Address, spanLength, dataSize int) boson.Chunk

GenerateTestRandomFileChunk generates one single chunk with arbitrary content and address

func GetVector

func GetVector(t *testing.T, idx int) ([]byte, boson.Address)

GetVector returns test data corresponding to the test vector index, and the expected result address.

func GetVectorCount

func GetVectorCount() int

GetVectorCount returns the number of available test vectors.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL