compare

package
v0.17.0-patch2 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateMetrics

func GenerateMetrics(n int, startValue, endValue, stepValue float64) []float64

func MaxInt

func MaxInt(a, b int) int

func MetricDataIsEqual

func MetricDataIsEqual(d1, d2 *types.MetricData, compareTags bool) bool

func NearlyEqual

func NearlyEqual(a, b []float64) bool

func NearlyEqualMetrics

func NearlyEqualMetrics(a, b *types.MetricData) bool

func TestMetricData

func TestMetricData(t *testing.T, got, want []*types.MetricData)

func TestMetricDataEqLen

func TestMetricDataEqLen(t *testing.T, got, want []*types.MetricData)

Validate test case values length

Types

This section is empty.

Jump to

Keyboard shortcuts

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