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

Method CustomDeepEquals

core/assert/value.go:77–79  ·  view source on GitHub ↗

CustomDeepEquals asserts that the supplied value is equal to the expected value using compare.Diff and the custom comparators.

(expect interface{}, c compare.Custom)

Source from the content-addressed store, hash-verified

75// CustomDeepEquals asserts that the supplied value is equal to the expected
76// value using compare.Diff and the custom comparators.
77func (o OnValue) CustomDeepEquals(expect interface{}, c compare.Custom) bool {
78 return o.TestCustomDeepDiff(o.value, expect, c)
79}
80
81// DeepEquals asserts that the supplied value is equal to the expected value using compare.Diff.
82func (o OnValue) DeepEquals(expect interface{}) bool {

Callers 1

TestCaptureExportImportFunction · 0.80

Calls 1

TestCustomDeepDiffMethod · 0.80

Tested by 1

TestCaptureExportImportFunction · 0.64