checkers

package
v0.0.0-...-1c5d739 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IsFalse c.Checker = &isFalseChecker{&c.CheckerInfo{Name: "IsFalse", Params: []string{"value"}}}

IsFalse tests whether the obtained value is false

Example: c.Assert(value, IsFalse)

View Source
var IsTrue c.Checker = &isTrueChecker{&c.CheckerInfo{Name: "IsTrue", Params: []string{"value"}}}

IsTrue tests whether the obtained value is true

Example: c.Assert(value, IsTrue)

Functions

func EqualsWithTolerance

func EqualsWithTolerance(tolerance float64) Checker

Types

This section is empty.

Jump to

Keyboard shortcuts

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