Changeset 15473 for branches/2817-BinPackingSpeedup/HeuristicLab.Tests/HeuristicLab.Problems.Bin-Packing-3.3/3D/PermutationSortingTest.cs
- Timestamp:
- 11/15/17 12:30:13 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2817-BinPackingSpeedup/HeuristicLab.Tests/HeuristicLab.Problems.Bin-Packing-3.3/3D/PermutationSortingTest.cs
r15463 r15473 145 145 public void TestSortByMaterialClusteredAreaHeightExtension() { 146 146 Permutation actual = _items.SortByMaterialClusteredAreaHeight(_packingShape, 1.0); 147 Permutation expected = new Permutation(PermutationTypes.Absolute, new int[] { 0, 2, 5, 7, 8, 10, 13, 9, 11, 12, 14, 1, 3, 4, 6});147 Permutation expected = new Permutation(PermutationTypes.Absolute, new int[] { 8, 13, 3, 2, 7, 12, 11, 1, 6, 0, 5, 10, 9, 14, 4 }); 148 148 for (int i = 0; i < expected.Length; i++) { 149 149 Assert.AreEqual(expected[i], actual[i]);
Note: See TracChangeset
for help on using the changeset viewer.