package compare
import "github.com/dancannon/gorethink/internal/compare"
Index ¶
- Variables
- func Assert(t *testing.T, expected, actual interface{})
- func AssertFalse(t *testing.T, expected, actual interface{})
- func AssertPrecision(t *testing.T, expected, actual interface{}, precision float64)
- func AssertPrecisionFalse(t *testing.T, expected, actual interface{}, precision float64)
- func Compare(expected, actual interface{}) (bool, string)
- func ComparePrecision(expected, actual interface{}, precision float64) (bool, string)
- type Expected
- func PartialMatch(v interface{}) Expected
- func UnorderedMatch(v interface{}) Expected
- func (expected Expected) SetOrdered(ordered bool) Expected
- func (expected Expected) SetPartial(partial bool) Expected
- type Regex
Variables ¶
var AnythingIsFine = "reql_test.AnythingIsFine"
Functions ¶
func Assert ¶
func AssertFalse ¶
func AssertPrecision ¶
func AssertPrecisionFalse ¶
func Compare ¶
func ComparePrecision ¶
Types ¶
type Expected ¶
func PartialMatch ¶
func PartialMatch(v interface{}) Expected
func UnorderedMatch ¶
func UnorderedMatch(v interface{}) Expected
func (Expected) SetOrdered ¶
func (Expected) SetPartial ¶
type Regex ¶
type Regex string
func IsUUID ¶
func IsUUID() Regex
func MatchesRegexp ¶
Source Files ¶
- Version
- v3.0.5+incompatible (latest)
- Published
- Sep 28, 2017
- Platform
- linux/amd64
- Imports
- 7 packages
- Last checked
- 1 week ago –
Tools for package owners.