CAFE
Computational Analysis of gene Family Evolution
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
report_tests.cpp File Reference
#include <vector>
#include <sstream>
#include <iostream>
#include <reports.h>
#include <Globals.h>
#include <gene_family.h>
#include "CppUTest/TestHarness.h"
#include "CppUTest/CommandLineTestRunner.h"
#include <cafe.h>

Functions

 TEST_GROUP (ReportTests)
 
 TEST (ReportTests, get_report_parameters)
 
 TEST (ReportTests, write_report)
 
Report create_report ()
 
 TEST (ReportTests, write_html_report)
 
 TEST (ReportTests, write_json_report)
 
 TEST (ReportTests, write_viterbi)
 
 TEST (ReportTests, write_families_header)
 
 TEST (ReportTests, write_families_line)
 
 TEST (ReportTests, family_line_item_sets_pvalues)
 
 TEST (ReportTests, draw_ascii_tree)
 
 TEST (ReportTests, draw_svg)
 
 TEST (ReportTests, draw_svg_puts_internal_node_ids)
 
 TEST (ReportTests, depth)
 

Variables

pBirthDeathCacheArray probability_cache
 

Function Documentation

Report create_report ( )
TEST ( ReportTests  ,
get_report_parameters   
)
TEST ( ReportTests  ,
write_report   
)
TEST ( ReportTests  ,
write_html_report   
)
TEST ( ReportTests  ,
write_json_report   
)
TEST ( ReportTests  ,
write_viterbi   
)
TEST ( ReportTests  ,
write_families_header   
)
TEST ( ReportTests  ,
write_families_line   
)
TEST ( ReportTests  ,
family_line_item_sets_pvalues   
)
TEST ( ReportTests  ,
draw_ascii_tree   
)
TEST ( ReportTests  ,
draw_svg   
)
TEST ( ReportTests  ,
draw_svg_puts_internal_node_ids   
)
TEST ( ReportTests  ,
depth   
)
TEST_GROUP ( ReportTests  )

Variable Documentation

pBirthDeathCacheArray probability_cache

The variable cafe_param is a global singleton that holds general program state. cafe_param holds pcafe, a CafeTree, and pfamily, a CafeFamily . These are set by the user via the commands "tree" and "load" respectively. When the user calls the command "lambda" calculations are performed on the pcafe and pfamily variables.