assert

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataRead

func DataRead(t *testing.T, factory FormatFactory, suffix string)

DataRead asserts a formats read behaviour.

func DataWrite

func DataWrite(t *testing.T, factory FormatFactory, suffix string, outfilenames OutputFileNames)

DataWrite asserts a formats write behaviour.

Types

type FormatFactory

type FormatFactory func(input.Input) format.Format

FormatFactory describes a func used for instantiating a Format during assertions.

type OutputFileNames

type OutputFileNames func(file string, x byte) []string

OutputFileNames describes a func used to get the output file names only known to the calling test case.

Jump to

Keyboard shortcuts

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