test

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareMetrics

func CompareMetrics(t *testing.T, expected map[string]Value, actual map[string]float64) bool

func FloatEq

func FloatEq(a, b float64) bool

func FloatEqDev

func FloatEqDev(a, b, dev float64) bool

func SliceFloatEq

func SliceFloatEq(a, b []float64) bool

Types

type Value

type Value struct {
	V   float64
	Dev float64
}

Jump to

Keyboard shortcuts

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