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.
Click to show internal directories.
Click to hide internal directories.