Changeset 13469 for branches/ProblemRefactoring/HeuristicLab.Tests/HeuristicLab.Encodings.ScheduleEncoding-3.3/DirectScheduleGTCrossoverTest.cs
- Timestamp:
- 12/15/15 15:16:24 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ProblemRefactoring/HeuristicLab.Tests/HeuristicLab.Encodings.ScheduleEncoding-3.3/DirectScheduleGTCrossoverTest.cs
r12012 r13469 22 22 using System.Linq; 23 23 using HeuristicLab.Core; 24 using HeuristicLab.Encodings.ScheduleEncoding.PermutationWithRepetition; 25 using HeuristicLab.Encodings.ScheduleEncoding.ScheduleEncoding; 24 using HeuristicLab.Encodings.ScheduleEncoding; 26 25 using HeuristicLab.Tests; 27 26 using Microsoft.VisualStudio.TestTools.UnitTesting; … … 48 47 Schedule actual; 49 48 actual = DirectScheduleGTCrossover.Apply(random, parent1, parent2, jobData, mutProp); 50 Schedule expected = DirectScheduleRandomCreator.Apply( 3, 3,new PWREncoding(3, 3, new TestRandom(new int[] { 0, 2, 1, 1, 0, 2, 1, 2, 0 }, null)), TestUtils.CreateJobData());49 Schedule expected = DirectScheduleRandomCreator.Apply(new PWREncoding(3, 3, new TestRandom(new int[] { 0, 2, 1, 1, 0, 2, 1, 2, 0 }, null)), TestUtils.CreateJobData()); 51 50 Assert.IsTrue(TestUtils.ScheduleEquals(actual, expected)); 52 51 }
Note: See TracChangeset
for help on using the changeset viewer.