Related to "tests"
types.isType() function
types.isType()
tests if a value is a specified Flux basic type or regular expression type.
contains() function
The contains()
function tests whether a value is a member of a set.
math.isInf() function
The math.isInf() function reports whether f
is an infinity, according to sign
.
math.isNaN() function
The math.isNaN() function reports whether f
is an IEEE 754 “not-a-number” value.
strings.hasSuffix() function
The strings.hasSuffix() function indicates if a string ends with a specified suffix.
strings.isDigit() function
The strings.isDigit() function tests if a single character string is a digit (0-9).
strings.isLetter() function
The strings.isLetter() function tests if a single character string is a letter (a-z, A-Z).
strings.isLower() function
The strings.isLower() function tests if a single-character string is lowercase.
strings.isUpper() function
The strings.isUpper() function tests if a single character string is uppercase.
testing.assertEmpty() function
The testing.assertEmpty() function tests if an input stream is empty.
testing.assertEquals() function
The testing.assertEquals() function tests whether two streams have identical data.
testing.benchmark() function
The testing.benchmark()
function executes a test case without comparing test output with the expected test output. This lets you accurately benchmark a test case without the added overhead of comparing test output that occurs in testing.run()
.
testing.diff() function
The testing.diff() function produces a diff between two streams.
testing.inspect() function
The testing.inspect()
function returns information about a test case.
testing.load() function
The testing.load()
function loads tests data from a stream of tables.
testing.loadMem() function
The testing.loadMem()
function loads annotated CSV test data from memory to emulate query results returned by Flux.
testing.loadStorage() function
The testing.loadStorage()
function loads annotated CSV test data as if it were queried from InfluxDB. This function ensures tests behave correctly in both the Flux and InfluxDB test suites.
testing.run() function
The testing.run()
function executes a specified test case.
geo.ST_Contains() function
The geo.ST_Contains()
function tests if the specified region contains the specified GIS geometry and returns true
or false
.
geo.ST_DWithin() function
The geo.ST_DWithin()
function tests if the specified region is within a defined distance from the specified geographic information system (GIS) geometry and returns true
or false
.
geo.ST_Intersects() function
The geo.ST_Intersects()
function tests if the specified geographic information system (GIS) geometry intersects with the specified region and returns true
or false
.