/// <summary> /// Initializes a new instance of the <see cref="TerrainRow"/> class. /// </summary> /// <param name="box">The box.</param> /// <param name="terrainReference">The terrain reference.</param> /// <param name="resolution">The resolution.</param> /// <param name="testProgress">The test progress reporting instance.</param> internal TerrainRow([NotNull] IEnvelope box, [NotNull] TerrainReference terrainReference, double resolution, [NotNull] ITestProgress testProgress) { Assert.ArgumentNotNull(box, nameof(box)); Assert.ArgumentNotNull(terrainReference, nameof(terrainReference)); Assert.ArgumentNotNull(testProgress, nameof(testProgress)); Extent = box; TerrainReference = terrainReference; _resolution = resolution; _testProgress = testProgress; DatasetName = Assert.NotNull(TerrainReference.Name); }
internal int GetTerrainIndex([CanBeNull] TerrainReference terrain, int occurrence) { // TODO there are calls with null from TestContainer.ExecuteCore() return(GetIndex(terrain, InvolvedTerrains, occurrence, (x, y) => x.EqualsCore(y))); }
public bool Equals(TerrainReference other) { return(EqualsCore(other)); }
public abstract bool EqualsCore([NotNull] TerrainReference terrainReference);