}
/** Test of parseTreeFile method, of class classification.TrainingFileParser. */
public void testParseTreeFile() throws Exception{
System.out.println("testParseTreeFile");
TreeFileParser parser = new TreeFileParser();
InputStream dstream = System.class.getResourceAsStream("/test/classifier/testTreeFile.xml");
HierarchyVersion hVersion = null;
Reader in = new InputStreamReader( dstream );
HierarchyTree root = parser.createTree(in, null);
assertEquals(root.getName(), "BACTERIA");
assertEquals(root.getLeaveCount(), 4123);
assertEquals(root.getSizeofSubclasses(), 3);
//displayTrainingTree(root);