MCPcopy Create free account
hub / github.com/apple/foundationdb / Choice

Method Choice

contrib/TestHarness/Program.cs:180–183  ·  view source on GitHub ↗
(this Random random, IList<T> items)

Source from the content-addressed store, hash-verified

178 }
179
180 static T Choice<T>(this Random random, IList<T> items)
181 {
182 return items[ random.Next(items.Count) ];
183 }
184
185 static bool IsRunningOnMono()
186 {

Callers 1

RunMethod · 0.80

Calls 1

NextMethod · 0.80

Tested by

no test coverage detected