#include <limits>
#include <gtest/gtest.h>
#include "interop/model/run_metrics.h"
#include "src/tests/interop/metrics/inc/q_metrics_test.h"
#include "src/tests/interop/inc/generic_fixture.h"
#include "src/tests/interop/inc/proxy_parameter_generator.h"
#include "src/tests/interop/metrics/inc/metric_generator.h"
#include "interop/logic/metric/q_metric.h"
Classes | |
struct | q_metrics_tests |
Typedefs | |
typedef metric_set< q_metric > | q_metric_set |
Functions | |
INSTANTIATE_TEST_CASE_P (q_metric_unit_test, q_metrics_tests,::testing::ValuesIn(q_unit_test_generators)) | |
TEST_P (q_metrics_tests, test_read_write) | |
TEST (q_metrics_test, test_populate_cumulative_on_empty) | |
TEST (q_metrics_test, test_cumulative) | |
TEST (q_metrics_test, test_cumulative_reorder) | |
TEST (q_metrics_test, test_percent_over_q30_unbinned) | |
TEST (q_metrics_test, test_percent_over_q30_binned) | |
INSTANTIATE_TEST_CASE_P (q_metric_regression_test, q_metrics_tests, ProxyValuesIn(q_regression_gen, regression_test_data::instance().files())) | |
Variables | |
q_metrics_tests::generator_type | q_unit_test_generators [] |
regression_test_metric_generator< q_metric_set > | q_regression_gen |
Detailed Description
Unit tests for the q-score metrics
- Date
- 8/25/2015
- Version
- 1.0
- Copyright
- GNU Public License.
Typedef Documentation
typedef metric_set< q_metric > q_metric_set |
Function Documentation
INSTANTIATE_TEST_CASE_P | ( | q_metric_unit_test | , |
q_metrics_tests | , | ||
::testing:: | ValuesInq_unit_test_generators | ||
) |
INSTANTIATE_TEST_CASE_P | ( | q_metric_regression_test | , |
q_metrics_tests | , | ||
ProxyValuesIn(q_regression_gen, regression_test_data::instance().files()) | |||
) |
TEST | ( | q_metrics_test | , |
test_populate_cumulative_on_empty | |||
) |
TEST | ( | q_metrics_test | , |
test_cumulative | |||
) |
TEST | ( | q_metrics_test | , |
test_cumulative_reorder | |||
) |
TEST | ( | q_metrics_test | , |
test_percent_over_q30_unbinned | |||
) |
TEST | ( | q_metrics_test | , |
test_percent_over_q30_binned | |||
) |
TEST_P | ( | q_metrics_tests | , |
test_read_write | |||
) |
Variable Documentation
regression_test_metric_generator<q_metric_set> q_regression_gen |
q_metrics_tests::generator_type q_unit_test_generators[] |
Initial value:
= {
}
Definition: metric_generator.h:17
Definition: metric_generator.h:29
generator_ptr< T > wrap(abstract_generator< T > *ptr)
Definition: generic_fixture.h:315
Definition: metric_generator.h:25
Definition: metric_generator.h:21