public long FindRandom(int numberofFinds, int maxValue) { return(TimedTester.MeasureRunTimeLoop(() => { FindRandomStatement(Generator.Next(maxValue)); }, numberofFinds)); }
public long DeleteRandom(int numberofDeletes) { return(TimedTester.MeasureRunTimeLoop(DeleteRandomStatement, numberofDeletes)); }
public long InsertFront(int valuesToAdd, int maxValue) { return(TimedTester.MeasureRunTimeLoop(() => { InsertFrontStatement(Generator.Next(maxValue)); }, valuesToAdd)); }
public long LookupRandom(int numerofLookups) { return(TimedTester.MeasureRunTimeLoop(LookupRandomStatement, numerofLookups)); }
public long AddInitial(int valuesToAdd, int maxValue) { return(TimedTester.MeasureRunTimeLoop(() => { AddInitialStatement(Generator.Next(maxValue)); }, valuesToAdd)); }