Changeset 4068 for trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/Tests/OrderCrossover2Test.cs
- Timestamp:
- 07/22/10 00:44:01 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/Tests/OrderCrossover2Test.cs
r3742 r4068 21 21 22 22 using HeuristicLab.Core; 23 using HeuristicLab.Encodings.PermutationEncoding; 23 24 using Microsoft.VisualStudio.TestTools.UnitTesting; 24 using HeuristicLab.Encodings.PermutationEncoding;25 25 26 26 namespace HeuristicLab.Encodings.PermutationEncoding_33.Tests { 27 28 29 30 27 /// <summary> 28 ///This is a test class for OrderCrossover2Test and is intended 29 ///to contain all OrderCrossover2Test Unit Tests 30 ///</summary> 31 31 [TestClass()] 32 32 public class OrderCrossover2Test { … … 92 92 target.Cross(random, new ItemArray<Permutation>(new Permutation[] { 93 93 new Permutation(PermutationTypes.RelativeUndirected, 4), new Permutation(PermutationTypes.RelativeUndirected, 4), new Permutation(PermutationTypes.RelativeUndirected, 4)})); 94 } catch (System.InvalidOperationException) { 94 } 95 catch (System.InvalidOperationException) { 95 96 exceptionFired = true; 96 97 } … … 123 124 try { 124 125 OrderCrossover.Apply(random, new Permutation(PermutationTypes.RelativeUndirected, 8), new Permutation(PermutationTypes.RelativeUndirected, 6)); 125 } catch (System.ArgumentException) { 126 } 127 catch (System.ArgumentException) { 126 128 exceptionFired = true; 127 129 }
Note: See TracChangeset
for help on using the changeset viewer.