Changeset 17516 for branches/2521_ProblemRefactoring/HeuristicLab.Tests/HeuristicLab.Encodings.ScheduleEncoding-3.3/DirectScheduleGTCrossoverTest.cs
- Timestamp:
- 04/20/20 16:18:23 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Tests/HeuristicLab.Encodings.ScheduleEncoding-3.3/DirectScheduleGTCrossoverTest.cs
r17226 r17516 20 20 #endregion 21 21 22 using System.Linq;23 22 using HeuristicLab.Core; 24 using HeuristicLab.Encodings.ScheduleEncoding;25 23 using HeuristicLab.Tests; 26 24 using Microsoft.VisualStudio.TestTools.UnitTesting; … … 47 45 Schedule actual; 48 46 actual = DirectScheduleGTCrossover.Apply(random, parent1, parent2, jobData, mutProp); 49 Schedule expected = DirectScheduleRandomCreator.Apply(new PWR Encoding(3, 3, new TestRandom(new int[] { 0, 2, 1, 1, 0, 2, 1, 2, 0 }, null)), TestUtils.CreateJobData());47 Schedule expected = DirectScheduleRandomCreator.Apply(new PWR(3, 3, new TestRandom(new int[] { 0, 2, 1, 1, 0, 2, 1, 2, 0 }, null)), TestUtils.CreateJobData()); 50 48 Assert.IsTrue(TestUtils.ScheduleEquals(actual, expected)); 51 49 }
Note: See TracChangeset
for help on using the changeset viewer.