Beispiel #1
0
        public void Should_return_expected_CSIB_string()
        {
            var csibStr = _convertCoordinates.DCFileToCSIB(DCFile.GetFilePath(DCFile.DIMENSIONS_2012_DC_FILE_WITH_VERT_ADJUST));

            // Due to encoding differences between Windows and Linux it's not possible to expect the two to encode to the same result.
            // We only check content here; validity is exercised in the base fixture where it loads a DC file from disk to get the CSIB.
            csibStr.Should().NotBeNullOrEmpty();
        }
Beispiel #2
0
 public string GetCSIBFromDC(string dcFilename) => _convertCoordinates.DCFileToCSIB(DCFile.GetFilePath(dcFilename));