MCPcopy Create free account
hub / github.com/evilsocket/sum / sameOracle

Function sameOracle

service/oracles_test.go:26–28  ·  view source on GitHub ↗
(a, b pb.Oracle)

Source from the content-addressed store, hash-verified

24)
25
26func sameOracle(a, b pb.Oracle) bool {
27 return a.Id == b.Id && a.Name == b.Name && a.Code == b.Code
28}
29
30func TestServiceErrOracleResponse(t *testing.T) {
31 if r := errOracleResponse("test %d", 123); r.Success {

Callers 3

TestServiceUpdateOracleFunction · 0.70
TestServiceReadOracleFunction · 0.70
TestServiceFindOracleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected