javaDungAF.tests
Class TestSetComparison

Object
  extended by TestSetComparison

public class TestSetComparison
extends Object

A class to test SetComparison's removeNonMinimalMembersOf(Collection<T extends Collection>) and removeNonMaximalMembersOf(Collection<T extends Collection>) methods. The methods are tested with the following input -

  1. a set of two comparable String-sets;
  2. a set of two incomparable String-sets;
  3. the empty set;
  4. a set containing only one String-set;
  5. a list of three String-sets, such that two have the same contents, and are comparable with the third;
  6. a list of three String-sets, such that no two have the same contents, and two are comparable with one another; and
  7. a set comprising two comparable sets and one list, the list containing the same as one of the sets.
This class must be run with assertions enabled.


Constructor Summary
TestSetComparison()
           
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestSetComparison

public TestSetComparison()
Method Detail

main

public static void main(String[] args)