gocheckext

package module
v0.0.0-...-9042b63 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2014 License: BSD-3-Clause Imports: 2 Imported by: 0

README

gocheckext

Extending GoCheck feauters

  • new checker GreaterThan

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GreaterThan Checker = &greaterThanChecker{
	&CheckerInfo{Name: "GreaterThan", Params: []string{"obtained", "expected greater than"}},
}

The Greater Than checker verifies that the obtained value is greater than the expected value, according to usual Go semantics for >.

For example:

c.Assert(value, GreaterThan, 42)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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