private static bool IsValidCostMatrixCalculateMessage(
     CostMatrixCalculateMessage x,
     SurveyFeatureDto[] dtos,
     IRacetrackSettingsSource settings)
 {
     return x.SurveyFeatureDtos == dtos &&
            Math.Abs(x.TurnRadiusForPort - settings.TurnRadiusForPort) < Tolerance &&
            Math.Abs(x.TurnRadiusForStarboard - settings.TurnRadiusForStarboard) < Tolerance &&
            x.IsPortTurnAllowed == settings.IsPortTurnAllowed &&
            x.IsStarboardTurnAllowed == settings.IsStarboardTurnAllowed;
 }
 public SurveyFeatureToSurveyFeatureDtoConverter()
 {
     Features = new ISurveyFeature[0];
     Dtos = new SurveyFeatureDto[0];
 }