Exemplo n.º 1
0
 public TestSet(object prototypeObject, string description, Action speedFactorMeasureFunction = null, object settings = null, int stackSize = 1)
 {
     _prototypeObject            = prototypeObject;
     Description                 = description;
     SpeedFactor                 = TimeLimitRunner.CalculateSpeedFactor(speedFactorMeasureFunction);
     _speedFactorMeasureFunction = speedFactorMeasureFunction;
     _settings  = settings;
     _stackSize = stackSize;
 }
Exemplo n.º 2
0
 private void OnDeserializedCalculateSpeedFactor(StreamingContext context)
 {
     SpeedFactor = TimeLimitRunner.CalculateSpeedFactor(_speedFactorMeasureFunction);
 }