private void RunTestUInt32(CsPrng csprng, Action <CsPrng, UInt32[]> core, out double average, out TimeSpan timeSpan) { var output = new UInt32[Iterations]; var sw = new Stopwatch(); sw.Start(); core(csprng, output); sw.Stop(); timeSpan = sw.Elapsed; average = output.Average(u => u); }