Пример #1
0
        public TestResult Execute(TestCase testCase)
        {
            var result = new TestResult {
                Source = testCase.Source,
                Target = testCase.Target
            };

            var staticResult = ExecuteStaticEpsg(testCase);
            var proj4Results = ExecuteProj4(testCase);

            try {
                var statsData = new CoordinateComparisonStatistics();
                statsData.Process(proj4Results.ResultData, staticResult.ResultData);
                result.StatsData = statsData;
            }
            catch (Exception ex) {
                ; // eat it
            }

            return(result);
        }
Пример #2
0
        public TestResult Execute(TestCase testCase)
        {
            var result = new TestResult {
                Source = testCase.Source,
                Target = testCase.Target
            };

            var staticResult = ExecuteStaticEpsg(testCase);
            var proj4Results = ExecuteProj4(testCase);
            try {
                var statsData = new CoordinateComparisonStatistics();
                statsData.Process(proj4Results.ResultData, staticResult.ResultData);
                result.StatsData = statsData;
            }
            catch (Exception ex) {
                ; // eat it
            }

            return result;
        }