Пример #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;
 }
Пример #2
0
 private void OnDeserializedCalculateSpeedFactor(StreamingContext context)
 {
     SpeedFactor = TimeLimitRunner.CalculateSpeedFactor(_speedFactorMeasureFunction);
 }