public void ResetStream() { _fileStream.Position = 0; var stream = new MemoryStream(); _fileStream.CopyTo(stream); stream.Position = 0; _classic = new HolidayProcessorClassicBenchmark(stream); _span = new HolidayProcessorBenchmark(stream); }
public void Setup() { _classic = new HolidayProcessorClassicBenchmark(File); _span = new HolidayProcessorBenchmark(File); }