testing

package
v0.6.10 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2021 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 swarm.Address, spanLength, dataSize int) swarm.Chunk

GenerateTestRandomFileChunk generates one single chunk with arbitrary content and address

func GetVector

func GetVector(t *testing.T, idx int) ([]byte, swarm.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