Package es.uam.eps.ir.relison.community
Class DendogramTest
java.lang.Object
es.uam.eps.ir.relison.community.DendogramTest
public class DendogramTest
extends java.lang.Object
Automated unit tests for the dendogram class.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DendogramTest() -
Method Summary
Modifier and Type Method Description voidconstructionTest()Tests the construction of the tree.voidgetCommunitiesByNumberIndividualTest()Checks the method that gets a single community division given the number of communities we want to retrieve.voidgetCommunitiesByNumberTest()Checks the method that gets all possible community divisions attending to the number of communities.voidgetCommunitiesBySizeIndividualTest()voidgetCommunitiesBySizeTest()Test the sizes of the communities.voidsetUp()static voidsetUpClass()voidtearDown()static voidtearDownClass()
-
Field Details
-
Constructor Details
-
DendogramTest
public DendogramTest()
-
-
Method Details
-
setUpClass
public static void setUpClass() -
tearDownClass
public static void tearDownClass() -
setUp
public void setUp() -
tearDown
public void tearDown() -
constructionTest
public void constructionTest()Tests the construction of the tree. -
getCommunitiesByNumberTest
public void getCommunitiesByNumberTest()Checks the method that gets all possible community divisions attending to the number of communities. -
getCommunitiesByNumberIndividualTest
public void getCommunitiesByNumberIndividualTest()Checks the method that gets a single community division given the number of communities we want to retrieve. -
getCommunitiesBySizeTest
public void getCommunitiesBySizeTest()Test the sizes of the communities. -
getCommunitiesBySizeIndividualTest
public void getCommunitiesBySizeIndividualTest()
-