MCPcopy Create free account
hub / github.com/google/gapid / EqualsWithComparator

Method EqualsWithComparator

core/assert/map.go:60–62  ·  view source on GitHub ↗

EqualsWithComparator asserts the array or map matches expected using a comparator function

(expected interface{}, same func(a, b interface{}) bool)

Source from the content-addressed store, hash-verified

58
59// EqualsWithComparator asserts the array or map matches expected using a comparator function
60func (o OnMap) EqualsWithComparator(expected interface{}, same func(a, b interface{}) bool) bool {
61 return o.mapsEqual(expected, same)
62}
63
64// DeepEquals asserts the array or map matches expected using a deep-equal comparison.
65func (o OnMap) DeepEquals(expected interface{}) bool {

Callers

nothing calls this directly

Calls 1

mapsEqualMethod · 0.95

Tested by

no test coverage detected