checkers

package
v0.8.0-rc.5 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2014 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InRange Checker = &inRangeChecker{
	&CheckerInfo{Name: "InRange", Params: []string{"obtained", "expected greater than", "expected less than"}},
}
View Source
var SeriesEquals Checker = &SeriesEqualsChecker{
	&CheckerInfo{Name: "SeriesEquals", Params: []string{"obtained", "expected"}},
}

Functions

func CheckEquality

func CheckEquality(s1, s2 []*protocol.Series) bool

func CheckSeriesEquality

func CheckSeriesEquality(s1, s2 *protocol.Series) bool

return true if the two series are equal, ignoring the order of points with the same timestamp. Two points can have the same sequence number if the user issue a query with group by time(1h) and some_column.

Types

type SeriesEqualsChecker

type SeriesEqualsChecker struct {
	*CheckerInfo
}

func (*SeriesEqualsChecker) Check

func (checker *SeriesEqualsChecker) Check(params []interface{}, names []string) (result bool, error string)

type SimplePoint

type SimplePoint [10]interface{}

Jump to

Keyboard shortcuts

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