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