smile.taxonomy
Class TaxonomyTest
- java.lang.Object
-
- smile.taxonomy.TaxonomyTest
-
public class TaxonomyTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description TaxonomyTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidsetUp()Create the following taxonomy: --|--- | | ---|-- | | | | --A-- | | | | | | B C D Estatic voidsetUpClass()voidtearDown()static voidtearDownClass()voidtestDistance()Test of distance method, of class TaxonomicDistance.voidtestGetPathFromRoot()Test of getPathFromRoot method, of class Taxonomy.voidtestGetPathToRoot()Test of getPathToRoot method, of class Taxonomy.voidtestLowestCommonAncestor()Test of lowestCommonAncestor method, of class Taxonomy.
-
-
-
Method Detail
-
setUpClass
public static void setUpClass() throws java.lang.Exception- Throws:
java.lang.Exception
-
tearDownClass
public static void tearDownClass() throws java.lang.Exception- Throws:
java.lang.Exception
-
setUp
public void setUp()
Create the following taxonomy: --|--- | | ---|-- | | | | --A-- | | | | | | B C D E
-
tearDown
public void tearDown()
-
testLowestCommonAncestor
public void testLowestCommonAncestor()
Test of lowestCommonAncestor method, of class Taxonomy.
-
testGetPathToRoot
public void testGetPathToRoot()
Test of getPathToRoot method, of class Taxonomy.
-
testGetPathFromRoot
public void testGetPathFromRoot()
Test of getPathFromRoot method, of class Taxonomy.
-
testDistance
public void testDistance()
Test of distance method, of class TaxonomicDistance.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG