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

Function sameOracle

storage/oracles_test.go:36–38  ·  view source on GitHub ↗
(a, b pb.Oracle)

Source from the content-addressed store, hash-verified

34)
35
36func sameOracle(a, b pb.Oracle) bool {
37 return a.Id == b.Id && a.Name == b.Name && a.Code == b.Code
38}
39
40func setupOracles(t testing.TB, withValid bool, withCorrupted bool, withBroken bool) {
41 log.SetOutput(ioutil.Discard)

Callers 2

TestLoadOraclesFunction · 0.70
TestOraclesUpdateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected