#include <limits>
#include <set>
#include <gtest/gtest.h>
#include "interop/util/math.h"
#include "interop/util/statistics.h"
#include "interop/util/type_traits.h"
#include "interop/model/run_metrics.h"
#include "src/tests/interop/metrics/inc/tile_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"
Classes | |
class | write_metric_generator< Gen > |
struct | tile_metrics_tests |
Typedefs | |
typedef metric_set< tile_metric > | tile_metric_set |
Functions | |
INSTANTIATE_TEST_CASE_P (tile_metric_unit_test, tile_metrics_tests,::testing::ValuesIn(tile_unit_test_generators)) | |
TEST_P (tile_metrics_tests, test_read_write) | |
TEST (tile_metrics_test, test_unique_id_four_digit) | |
TEST (tile_metrics_test, test_unique_id_five_digit) | |
TEST (tile_metrics_test, test_tile_metric_for_lane) | |
INSTANTIATE_TEST_CASE_P (tile_metric_regression_test, tile_metrics_tests, ProxyValuesIn(tile_regression_gen, regression_test_data::instance().files())) | |
Detailed Description
Unit tests for the tile metrics
- Date
- 9/6/2015
- Version
- 1.0
- Copyright
- GNU Public License.
Typedef Documentation
typedef metric_set< tile_metric > tile_metric_set |
Function Documentation
INSTANTIATE_TEST_CASE_P | ( | tile_metric_unit_test | , |
tile_metrics_tests | , | ||
::testing:: | ValuesIntile_unit_test_generators | ||
) |
INSTANTIATE_TEST_CASE_P | ( | tile_metric_regression_test | , |
tile_metrics_tests | , | ||
ProxyValuesIn(tile_regression_gen, regression_test_data::instance().files()) | |||
) |
TEST | ( | tile_metrics_test | , |
test_unique_id_four_digit | |||
) |
TEST | ( | tile_metrics_test | , |
test_unique_id_five_digit | |||
) |
TEST | ( | tile_metrics_test | , |
test_tile_metric_for_lane | |||
) |
TEST_P | ( | tile_metrics_tests | , |
test_read_write | |||
) |
Variable Documentation
by_cycle_metric_generator< tile_metric_v2 > tile_dummy_v2 |
Dummy registration for by cycle generator
regression_test_metric_generator<tile_metric_set> tile_regression_gen |
tile_metrics_tests::generator_type tile_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: tile_metrics_test.cpp:34
Definition: metric_generator.h:25
Definition: metric_generator.h:21