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

Method Equals

core/assert/value.go:66–68  ·  view source on GitHub ↗

Equals asserts that the supplied value is equal to the expected value.

(expect interface{})

Source from the content-addressed store, hash-verified

64
65// Equals asserts that the supplied value is equal to the expected value.
66func (o OnValue) Equals(expect interface{}) bool {
67 return o.Compare(o.value, "==", expect).Test(o.value == expect)
68}
69
70// NotEquals asserts that the supplied value is not equal to the test value.
71func (o OnValue) NotEquals(test interface{}) bool {

Callers

nothing calls this directly

Calls 2

TestMethod · 0.80
CompareMethod · 0.45

Tested by

no test coverage detected