test

package
v0.0.0-...-7d47eef Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Overview

Package test contains helper functions for unit tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckEq

func CheckEq(t *testing.T, a, b any, message string)

CheckEq test the equality of two values.

func CheckNearFloat32

func CheckNearFloat32(t *testing.T, a, b, margin float32, message string)

CheckNearFloat32 tests that two float32 values are close.

Types

This section is empty.

Jump to

Keyboard shortcuts

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