Changeset 3231 for trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/Tests/TranslocationInversionManipulatorTest.cs
- Timestamp:
- 03/29/10 17:53:12 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/Tests/TranslocationInversionManipulatorTest.cs
r3053 r3231 88 88 random.Reset(); 89 89 random.IntNumbers = new int[] { 2, 4, 4 }; 90 parent = new Permutation( new int[] { 0, 1, 2, 3, 4, 5, 6, 7 });90 parent = new Permutation(PermutationTypes.RelativeUndirected, new int[] { 0, 1, 2, 3, 4, 5, 6, 7 }); 91 91 Assert.IsTrue(parent.Validate()); 92 92 93 expected = new Permutation( new int[] { 0, 1, 5, 6, 4, 3, 2, 7 });93 expected = new Permutation(PermutationTypes.RelativeUndirected, new int[] { 0, 1, 5, 6, 4, 3, 2, 7 }); 94 94 Assert.IsTrue(expected.Validate()); 95 95 TranslocationInversionManipulator.Apply(random, parent);
Note: See TracChangeset
for help on using the changeset viewer.