eu.semaine.util
Class FuzzySortTest

java.lang.Object
  extended by eu.semaine.util.FuzzySortTest

public class FuzzySortTest
extends java.lang.Object

Author:
marc

Constructor Summary
FuzzySortTest()
           
 
Method Summary
 void canCreateFinalSortable()
          
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FuzzySortTest

public FuzzySortTest()
Method Detail

canCreateSortable

Create a sortable and verify that it looks as intended


canCreateSortable2


canCreateInitialSortable


canCreateFinalSortable


cannotCreateInitialFinalSortable


payloadPreserved


sortableHashcode


canRelateSortables

establish the order relationship between sortables


cannotRelateNullSortables1


cannotRelateNullSortables2


cannotRelateToEqual


relationsAreEquals


relationsAreNotEquals


canSortLinear1


canSortLinear2


canSortLinear3


canSortLinear4a


canSortLinear4b


canSortParallel1


canSortParallel2


canDealWithOnlyInitialFinal

Check whether the algorithm can deal with the boundary condition of getting only initial and final states with enforce == true, i.e. having nothing to sort.