testutil

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertError

func AssertError(t *testing.T, err error, context string)

AssertError verifies that an error occurred

func AssertNoError

func AssertNoError(t *testing.T, err error, context string)

AssertNoError verifies that no error occurred

func ValuesEqualApprox

func ValuesEqualApprox(expected, actual any) bool

ValuesEqualApprox compares two values with tolerance for type conversions and floating point precision

Types

This section is empty.

Jump to

Keyboard shortcuts

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