Ejemplo n.º 1
0
        public bool ConvertingHandler(string inputFileName, string outputFileName,
                                      GeospatialContentType inputContentType, GeospatialContentType outputContentType)
        {
            var inputDriverName = _gdalHelpers.GetDriverName(inputContentType);

            var outputDriverName = _gdalHelpers.GetDriverName(outputContentType);

            return(Converting(inputFileName, outputFileName, inputDriverName, outputDriverName));
        }
        public void ShouldGetExpectedDriverNameWithInputContentType(GeospatialContentType inputContentType,
                                                                    string expectedDriverName)
        {
            var outputDriverName = _gdalHelpers.GetDriverName(inputContentType);

            outputDriverName.Should().Be(expectedDriverName);
        }