private void ProcessWorstCaseResults(DataGridHeatPoint region, string worstPointFile, string faultModelName)
 {
     FaultModelTesterTestCase testCase = new SineFaultModelTestCase();
     testCase.FaultModel = faultModelName;
     testCase.Name = "Worst " + region.Requirement + " (sine) in region (" +
         String.Format("{0:0.##}", region.FrequencyRegion * region.BaseUnitFrequency) + " to " +
         String.Format("{0:0.##}", (region.FrequencyRegion + 1) * region.BaseUnitFrequency) + ")x(" +
         String.Format("{0:0.##}", region.DesiredRegion * region.BaseUnit) + " to " +
         String.Format("{0:0.##}", (region.DesiredRegion + 1) * region.BaseUnit) + ")";
     testCase.Input = SingleStateSearchParser.Parse(worstPointFile);
     TestCases.Add(testCase);
 }
 private static int CompareIntensities(DataGridHeatPoint a, DataGridHeatPoint b)
 {
     return b.Intensity.CompareTo(a.Intensity);
 }