protected override ITest CreateTestInstance(object[] args) { var test = new QaMustBeNearOther((IFeatureClass)args[0], (ICollection <IFeatureClass>)args[1], (double)args[2], (string)args[3]); test.AddRelatedTables((ITable)args[0], (IList <ITable>)args[4]); return(test); }
private static QaContainerTestRunner CreateTestRunner( [NotNull] IFeatureClass featureClass, double tileSize, double maximumDistance) { var test = new QaMustBeNearOther(featureClass, new[] { featureClass }, maximumDistance, null); var runner = new QaContainerTestRunner(tileSize, test); test.ErrorDistanceFormat = "{0:N2} m"; return(runner); }