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

Method Equals

core/assert/map.go:55–57  ·  view source on GitHub ↗

Equals asserts the array or map matches expected.

(expected interface{})

Source from the content-addressed store, hash-verified

53
54// Equals asserts the array or map matches expected.
55func (o OnMap) Equals(expected interface{}) bool {
56 return o.mapsEqual(expected, func(a, b interface{}) bool { return a == b })
57}
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 {

Callers

nothing calls this directly

Calls 1

mapsEqualMethod · 0.95

Tested by

no test coverage detected