Exemple #1
0
        public void VetaFinalPass_LatLong()
        {
            DILoggingFixture.SetMaxExportRowsConfig(10);

            //todo when this test is enabled, you'll need to duplicate some of the "Dimensions2018-CaseMachine" tag files
            // from their outer location of TRex\tests\netstandard\TAGFiles.Tests\TestData\TAGFiles
            // to                           TRex\tests\netstandard\VSS.TRex.Tests\TestData\TAGFiles
            var requestedSubGrids = GetSubGrids(CoordType.LatLon, OutputTypes.VedaFinalPass, false,
                                                out var requestArgument, out var siteModel, "Dimensions2018-CaseMachine");

            DITAGFileAndSubGridRequestsFixture.AddCSIBToSiteModel(ref siteModel, TestCommonConsts.DIMENSIONS_2012_DC_CSIB);

            var subGridProcessor = new CSVExportSubGridProcessor(requestArgument);
            var rows             = subGridProcessor.ProcessSubGrid(requestedSubGrids[0] as ClientCellProfileLeafSubgrid);

            rows.Count.Should().Be(8);
            rows[0].Should().Be(@"2012-Nov-05 19:44:47.459,1174.870m,2869.770m,599.220m,2,0,Trimble Road with Ref Surfaces v2,""Unknown"",7.4km/h,Not_Applicable,Fine (0.000m),?,2,1,?,?,?,?,?,?,?,?,?,?,?");
        }