assertx

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InEpsilonF64

func InEpsilonF64(want, got float64) bool

InEpsilonF64 returns true if v1 and v2 are within epsilon of each other. assert.InEpsilon requires v1 to be non-zero.

func InEpsilonF64Slice

func InEpsilonF64Slice(want, got []float64) bool

InEpsilonF64Slice returns true if all the elements in v1 and v2 are within epsilon of each other. assert.InEpsilonSlice requires v1 to be non-zero.

func InEpsilonF64Slices

func InEpsilonF64Slices(want, got [][]float64) bool

InEpsilonF64Slices returns true if all the elements in v1 and v2 are within epsilon of each other.

Types

This section is empty.

Jump to

Keyboard shortcuts

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