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