testing

package
v0.0.0-...-bea3eb9 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpectBool deprecated

func ExpectBool(expect, actual bool, t *testing.T) bool

Deprecated: Use ExpectEqual instead

func ExpectEmptyString deprecated

func ExpectEmptyString(actual string, t *testing.T) bool

Deprecated: Use ExpectEqual instead

func ExpectEqual

func ExpectEqual[T comparable](expected, actual T, t *testing.T) bool

func ExpectError

func ExpectError(err error, t *testing.T) bool

func ExpectFalse deprecated

func ExpectFalse(actual bool, t *testing.T) bool

Deprecated: Use ExpectEqual instead

func ExpectFloat

func ExpectFloat[T float32 | float64](expected, actual T, t *testing.T) bool

func ExpectFloat64 deprecated

func ExpectFloat64(expect, actual float64, t *testing.T) bool

Deprecated: Use ExpectFloat instead

func ExpectInt deprecated

func ExpectInt(expect, actual int, t *testing.T) bool

Deprecated: Use ExpectEqual instead

func ExpectInt64 deprecated

func ExpectInt64(expect, actual int64, t *testing.T) bool

Deprecated: Use ExpectEqual instead

func ExpectMatch

func ExpectMatch(pattern, actual string, t *testing.T) bool

func ExpectNil

func ExpectNil(value interface{}, t *testing.T) bool

func ExpectNoError

func ExpectNoError(err error, t *testing.T) bool

func ExpectNonEmptyString deprecated

func ExpectNonEmptyString(actual string, t *testing.T) bool

Deprecated: Use ExpectUnequal instead

func ExpectNonNil

func ExpectNonNil(value interface{}, t *testing.T) bool

func ExpectString deprecated

func ExpectString(expect, actual string, t *testing.T) bool

Deprecated: Use ExpectEqual instead

func ExpectTrue deprecated

func ExpectTrue(actual bool, t *testing.T) bool

Deprecated: Use ExpectEqual instead

func ExpectUnequal

func ExpectUnequal[T comparable](expected, actual T, t *testing.T) bool

Types

This section is empty.

Directories

Path Synopsis
filepath: /Users/skelly/Documents/GoProjects/GoLib/TestRunner/packagerunner.go
filepath: /Users/skelly/Documents/GoProjects/GoLib/TestRunner/packagerunner.go

Jump to

Keyboard shortcuts

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