Ejemplo n.º 1
0
        public void GetGeoTransformNormal()
        {
            double[] gt = null;

            Assert.DoesNotThrow(() => gt = GdalWorker.GetGeoTransform(_in4326));
            Assert.True(gt?.Any());
        }
Ejemplo n.º 2
0
 public void GetGeoTransformNonExistantPath() => Assert.Throws <FileNotFoundException>(() =>
                                                                                       GdalWorker.GetGeoTransform(ShouldFail));
Ejemplo n.º 3
0
 public void GetGeoTransformNullPath() => Assert.Throws <ArgumentNullException>(() =>
                                                                                GdalWorker.GetGeoTransform(null));