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

Method NotEquals

core/assert/boolean.go:35–37  ·  view source on GitHub ↗

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

(test bool)

Source from the content-addressed store, hash-verified

33
34// NotEquals asserts that the supplied boolean is not equal to the test boolean.
35func (o OnBoolean) NotEquals(test bool) bool {
36 return o.Compare(o.value, "!=", test).Test(o.value != test)
37}
38
39// IsTrue asserts that the supplied boolean is true
40func (o OnBoolean) IsTrue() bool {

Callers

nothing calls this directly

Calls 2

TestMethod · 0.80
CompareMethod · 0.45

Tested by

no test coverage detected