plot_heatmap_test.cpp File Reference

Classes

struct  heatmap_plot_tests
 
class  heatmap_write_read_generator
 

Functions

 TEST_P (heatmap_plot_tests, plot_data)
 
 TEST (heatmap_plot_tests, q_by_lane_metric)
 
std::vector< constants::plot_typesheatmap_gen_data (heatmap_types, heatmap_types+util::length_of(heatmap_types))
 
 INSTANTIATE_TEST_CASE_P (plot_heatmap_unit_test, heatmap_plot_tests, ProxyValuesIn(plot_heatmap_gen, heatmap_gen_data))
 
 INSTANTIATE_TEST_CASE_P (heatmap_unit_tests, heatmap_plot_tests,::testing::ValuesIn(plot_heatmap_generators))
 
 INSTANTIATE_TEST_CASE_P (qscore_heatmap_regression_test, heatmap_plot_tests, ProxyValuesIn(qscore_heatmap_regression_test_gen, regression_test_data::instance().files()))
 

Variables

empty_plot_test_generator< heatmap_dataplot_heatmap_gen
 
const constants::plot_types heatmap_types [] = {constants::QHeatmapPlot}
 
heatmap_plot_tests::generator_type plot_heatmap_generators []
 
plot_regression_test_generator< heatmap_dataqscore_heatmap_regression_test_gen ("plot", constants::QHeatmapPlot)
 

Detailed Description

Unit tests for heatmap type plot logic

Date
11/2/16
Version
1.0

Function Documentation

std::vector<constants::plot_types> heatmap_gen_data ( heatmap_types  ,
heatmap_types+util::  length_ofheatmap_types 
)
INSTANTIATE_TEST_CASE_P ( plot_heatmap_unit_test  ,
heatmap_plot_tests  ,
ProxyValuesIn(plot_heatmap_gen, heatmap_gen_data  
)
INSTANTIATE_TEST_CASE_P ( heatmap_unit_tests  ,
heatmap_plot_tests  ,
::testing::  ValuesInplot_heatmap_generators 
)
INSTANTIATE_TEST_CASE_P ( qscore_heatmap_regression_test  ,
heatmap_plot_tests  ,
ProxyValuesIn(qscore_heatmap_regression_test_gen, regression_test_data::instance().files())   
)
TEST_P ( heatmap_plot_tests  ,
plot_data   
)

Test if Heatmap matchs expected data

Variable Documentation

const constants::plot_types heatmap_types[] = {constants::QHeatmapPlot}
heatmap_plot_tests::generator_type plot_heatmap_generators[]
Initial value:
= {
}
generator_ptr< T > wrap(abstract_generator< T > *ptr)
Definition: generic_fixture.h:315
plot_regression_test_generator<heatmap_data> qscore_heatmap_regression_test_gen("plot", constants::QHeatmapPlot)