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 void
constructionTest()
Tests the construction of the tree.void
getCommunitiesByNumberIndividualTest()
Checks the method that gets a single community division given the number of communities we want to retrieve.void
getCommunitiesByNumberTest()
Checks the method that gets all possible community divisions attending to the number of communities.void
getCommunitiesBySizeIndividualTest()
void
getCommunitiesBySizeTest()
Test the sizes of the communities.void
setUp()
static void
setUpClass()
void
tearDown()
static void
tearDownClass()
-
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()
-