public TestParameters(TestRunnerType runner, int pointCount, Resampling resampling, bool antialiasing, DataDistribution dataDistribution = DataDistribution.Uniform, int pointsCountThreshold = 100000000, int pointsCount2 = 0) { DataDistribution = dataDistribution; PointCount = pointCount; PointCountThreshold = pointsCountThreshold; PointCount2 = pointsCount2; SamplingMode = resampling; AntiAliasing = antialiasing; TestRunner = runner; }
public object Clone() { CollectionInfo collectionInfo = new CollectionInfo(); collectionInfo.Name = Name; collectionInfo.ParitionKey = ParitionKey; collectionInfo.Statistics = Statistics; //todo: what type of clone is thiss below //collectionInfo.DataDistribution = DataDistribution; collectionInfo._distributionStrategy = DistributionStrategy != null?DataDistribution.Clone() as IDistributionStrategy : null; collectionInfo.CollectionShard = CollectionShard; collectionInfo.UID = UID; return(collectionInfo); }