Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/15/17 12:30:13 (6 years ago)
Author:
rhanghof
Message:

#2817:
-Added unit tests
-Refactoring of bp 3D

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2817-BinPackingSpeedup/HeuristicLab.Tests/HeuristicLab.Problems.Bin-Packing-3.3/3D/PermutationSortingTest.cs

    r15463 r15473  
    145145    public void TestSortByMaterialClusteredAreaHeightExtension() {
    146146      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 });
    148148      for (int i = 0; i < expected.Length; i++) {
    149149        Assert.AreEqual(expected[i], actual[i]);
Note: See TracChangeset for help on using the changeset viewer.