utils

package
v0.0.0-...-9628a8e Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AsrtCallEq

func AsrtCallEq(t *testing.T, FuncName string) func(Want any, actual any, args ...any)

func BadTypeError

func BadTypeError(val any, exTypeStr string) string

func CallStr

func CallStr(funcName string, args []any) string

Types

type FuncTc

type FuncTc struct {
	Func   any
	Inputs []any
	Want   []any
}

func MakeFtc1

func MakeFtc1(Func any, Want any, Inputs ...any) FuncTc

type FuncUnitTests

type FuncUnitTests struct {
	Cases map[string]FuncTc
}

func (FuncUnitTests) Execute

func (fut FuncUnitTests) Execute(t *testing.T)

Jump to

Keyboard shortcuts

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