tester

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FuzzConsistency

func FuzzConsistency[T any, H scale.TypePtr[T]](f *testing.F, fuzzFuncs ...any)

func FuzzSafety

func FuzzSafety[T any, H scale.TypePtr[T]](f *testing.F)

func GoldenTest

func GoldenTest[T any, H scale.TypePtr[T]](t *testing.T, path string)

Types

type GoldenTestCase

type GoldenTestCase[T any, H scale.TypePtr[T]] struct {
	Name   string
	Object T
	Hex    string
	Error  string
}

Jump to

Keyboard shortcuts

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