MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / CheckNum

Function CheckNum

rpc/mux/server_test.go:66–70  ·  view source on GitHub ↗

CheckNum make int assertion.

(num, expected int32, t *testing.T)

Source from the content-addressed store, hash-verified

64
65// CheckNum make int assertion.
66func CheckNum(num, expected int32, t *testing.T) {
67 if num != expected {
68 t.Errorf("got %d, expected %d", num, expected)
69 }
70}
71
72type TestService struct {
73 counter int32

Callers 4

TestIncCounterFunction · 0.70
TestIncCounterSimpleArgsFunction · 0.70
TestETLSBugFunction · 0.70

Calls 1

ErrorfMethod · 0.80

Tested by

no test coverage detected