Changeset 3059 for trunk/sources/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Tests/UniformOnePositionManipulatorTest.cs
- Timestamp:
- 03/16/10 10:35:28 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Tests/UniformOnePositionManipulatorTest.cs
r3053 r3059 85 85 public void UniformOnePositionManipulatorApplyTest() { 86 86 TestRandom random = new TestRandom(); 87 Int Arrayparent, expected;87 IntegerVector parent, expected; 88 88 IntValue min, max; 89 89 // The following test is not based on published examples 90 90 random.Reset(); 91 91 random.IntNumbers = new int[] { 3, 3 }; 92 parent = new Int Array(new int[] { 2, 2, 3, 5, 1 });93 expected = new Int Array(new int[] { 2, 2, 3, 3, 1 });92 parent = new IntegerVector(new int[] { 2, 2, 3, 5, 1 }); 93 expected = new IntegerVector(new int[] { 2, 2, 3, 3, 1 }); 94 94 min = new IntValue(2); 95 95 max = new IntValue(7);
Note: See TracChangeset
for help on using the changeset viewer.