mathtest

package
v0.0.0-...-f10218a Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2021 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Aeq

func Aeq(expect, got float64) bool

Aeq returns true if expect and got are equal up to the current number of aeq digits set by SetAeqDigits. By default, this is 8 significant figures (1 part in 100 million).

func SetAeqDigits

func SetAeqDigits(digits int) int

func WantFunc

func WantFunc(t *testing.T, name string, f func(float64) float64, vals map[float64]float64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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