- Timestamp:
- 09/28/11 22:38:44 (13 years ago)
- Location:
- branches/Trunk/HeuristicLab.Tests
- Files:
-
- 2 added
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/Trunk/HeuristicLab.Tests/HeuristicLab.Problems.QuadraticAssignment-3.3/QAPLIBInstancesTest.cs
r6842 r6844 27 27 using System.Text; 28 28 using HeuristicLab.Common; 29 using HeuristicLab.Problems.QuadraticAssignment;30 29 using Microsoft.VisualStudio.TestTools.UnitTesting; 31 30 32 namespace Tests{31 namespace HeuristicLab.Problems.QuadraticAssignment.Tests_33 { 33 32 [TestClass] 34 33 public class QAPLIBInstancesTest { … … 40 39 try { 41 40 qap.LoadEmbeddedInstance(instance); 42 } catch (Exception ex) { 41 } 42 catch (Exception ex) { 43 43 failedInstances.AppendLine(instance + ": " + ex.Message); 44 44 } … … 72 72 try { 73 73 qap.LoadEmbeddedInstance(instance); 74 } catch { 74 } 75 catch { 75 76 Assert.Fail("Not all instances load correctly"); 76 77 } … … 79 80 try { 80 81 quality = QAPEvaluator.Apply(qap.BestKnownSolution, qap.Weights, qap.Distances); 81 } catch (Exception ex) { 82 } 83 catch (Exception ex) { 82 84 failedInstances.AppendLine("An unknown problem occurred evaluating solution of instance " + instance + ": " + ex.Message); 83 85 }
Note: See TracChangeset
for help on using the changeset viewer.