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

Function ExampleValueNotEquals

core/assert/value_test.go:117–125  ·  view source on GitHub ↗

An example of using value NotEquals

()

Source from the content-addressed store, hash-verified

115
116// An example of using value NotEquals
117func ExampleValueNotEquals() {
118 assert := assert.To(nil)
119 assert.For("1 NotEquals 1").That(1).NotEquals(1)
120 assert.For("2 NotEquals 3").That(2).NotEquals(3)
121 // Output:
122 // Error:1 NotEquals 1
123 // Got 1
124 // Expect != 1
125}
126
127// An example of using value DeepEquals
128func ExampleValueDeepEquals() {

Callers

nothing calls this directly

Calls 3

ThatMethod · 0.80
ForMethod · 0.80
NotEqualsMethod · 0.45

Tested by

no test coverage detected