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

Method ThatInteger

core/assert/integer.go:25–27  ·  view source on GitHub ↗

ThatInteger returns an OnInteger for integer based assertions.

(value int)

Source from the content-addressed store, hash-verified

23
24// ThatInteger returns an OnInteger for integer based assertions.
25func (a Assertion) ThatInteger(value int) OnInteger {
26 return OnInteger{Assertion: a, value: value}
27}
28
29// Equals asserts that the supplied integer is equal to the expected integer.
30func (o OnInteger) Equals(expect int) bool {

Callers 5

TestArenaStatsFunction · 0.80
ExampleIntegerFunction · 0.80
TestCodegenFunction · 0.80
TestMemoryAndGrpcStashFunction · 0.80
TestInsertFenceFunction · 0.80

Calls

no outgoing calls

Tested by 5

TestArenaStatsFunction · 0.64
ExampleIntegerFunction · 0.64
TestCodegenFunction · 0.64
TestMemoryAndGrpcStashFunction · 0.64
TestInsertFenceFunction · 0.64