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

Method NotEquals

core/assert/value.go:71–73  ·  view source on GitHub ↗

NotEquals asserts that the supplied value is not equal to the test value.

(test interface{})

Source from the content-addressed store, hash-verified

69
70// NotEquals asserts that the supplied value is not equal to the test value.
71func (o OnValue) NotEquals(test interface{}) bool {
72 return o.Compare(o.value, "!=", test).Test(o.value != test)
73}
74
75// CustomDeepEquals asserts that the supplied value is equal to the expected
76// value using compare.Diff and the custom comparators.

Callers 13

TestHostFunction · 0.45
writeMethod · 0.45
writeMethod · 0.45
writeMethod · 0.45
ExampleIntegerFunction · 0.45
ExampleStringEqualsFunction · 0.45
ExampleBooleanFunction · 0.45
ExampleNilFunction · 0.45
ExampleTypedNilFunction · 0.45
ExampleNotNilFunction · 0.45
ExampleValueNotEqualsFunction · 0.45
TestContextCancelFunction · 0.45

Calls 2

TestMethod · 0.80
CompareMethod · 0.45

Tested by 13

TestHostFunction · 0.36
writeMethod · 0.36
writeMethod · 0.36
writeMethod · 0.36
ExampleIntegerFunction · 0.36
ExampleStringEqualsFunction · 0.36
ExampleBooleanFunction · 0.36
ExampleNilFunction · 0.36
ExampleTypedNilFunction · 0.36
ExampleNotNilFunction · 0.36
ExampleValueNotEqualsFunction · 0.36
TestContextCancelFunction · 0.36