Discover Packages
github.com/m3db/m3
src
query
graphite
testing
package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Jan 21, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 5 modules, 2 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Jump to ...
Documentation
Index
Constants
Variables
Functions
EqualWithNaNs(t, expected, actual, msgAndArgs)
Equalish(t, expected, actual, msgAndArgs)
InDeltaWithNaNs(t, expected, actual, delta, msgAndArgs)
Types
Source Files
Documentation
Documentation
¶
func EqualWithNaNs(t assert.TestingT, expected, actual interface{}, msgAndArgs ...interface{}) bool
func Equalish(t assert.TestingT, expected, actual interface{}, msgAndArgs ...interface{}) bool
func InDeltaWithNaNs(t assert.TestingT, expected, actual interface{}, delta float64, ...) bool
func EqualWithNaNs(
t assert .TestingT ,
expected, actual interface{},
msgAndArgs ...interface{},
) bool
EqualWithNaNs compares two numbers for equality, accounting for NaNs.
func Equalish(
t assert .TestingT ,
expected, actual interface{},
msgAndArgs ...interface{},
) bool
Equalish asserts that two objects are equal. Looser than assert.Equal since
it checks for equality of printing expected vs printing actual.
assert.Equal(t, 123, 123, "123 and 123 should be equal")
Returns whether the assertion was successful (true) or not (false).
InDeltaWithNaNs compares two floats for equality within a delta,
accounting for NaNs.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.