public class NewickTreeParserTest extends Object
Modifier and Type | Field and Description |
---|---|
static org.junit.rules.TestRule |
classWatchman |
private static String |
testFileName |
org.junit.rules.TestRule |
watchman |
Constructor and Description |
---|
NewickTreeParserTest() |
Modifier and Type | Method and Description |
---|---|
private void |
checkTree(Tree<PhyloNode,Edge<PhyloNode>> tree)
Several of the methods here generate the same tree (using different optional braces etc in the Newick format),
this method tests the outcomes.
|
private void |
checkTreeWithBranchName(Tree<PhyloNode,Edge<PhyloNode>> tree) |
private void |
checkTreeWithNestedBranches(Tree<PhyloNode,Edge<PhyloNode>> tree) |
private void |
checkTreeWithNoBranchLengths(Tree<PhyloNode,Edge<PhyloNode>> tree) |
private void |
checkTreeWithOnlyRootNode(Tree<PhyloNode,Edge<PhyloNode>> tree) |
private void |
checkTreeWithWithBranchNamesWithoutBranchLengths(Tree<PhyloNode,Edge<PhyloNode>> tree) |
void |
setUp() |
static void |
setUpClass() |
void |
tearDown() |
static void |
tearDownClass() |
void |
testParse() |
void |
testParseWithArg() |
public static org.junit.rules.TestRule classWatchman
public org.junit.rules.TestRule watchman
private static String testFileName
public static void setUpClass()
public static void tearDownClass()
public void setUp()
public void tearDown()
public void testParse()
public void testParseWithArg()
private void checkTree(Tree<PhyloNode,Edge<PhyloNode>> tree)
tree
- private void checkTreeWithOnlyRootNode(Tree<PhyloNode,Edge<PhyloNode>> tree)
private void checkTreeWithNoBranchLengths(Tree<PhyloNode,Edge<PhyloNode>> tree)
private void checkTreeWithWithBranchNamesWithoutBranchLengths(Tree<PhyloNode,Edge<PhyloNode>> tree)
Copyright © 2015 University of Glasgow. All rights reserved.