|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
Unit tests for histogram implementation (replacement for gsl_histogram) More...

Go to the source code of this file.
Classes | |
| class | HistogramTest |
Functions | |
| TEST_F (HistogramTest, UniformRanges) | |
| TEST_F (HistogramTest, IncrementAndGet) | |
| TEST_F (HistogramTest, CustomRanges) | |
| TEST_F (HistogramTest, OutOfRange) | |
| TEST_F (HistogramTest, Histogram2D) | |
| TEST_F (HistogramTest, Histogram2DCustomRanges) | |
| TEST_F (HistogramTest, Histogram2DOutOfRange) | |
Unit tests for histogram implementation (replacement for gsl_histogram)
This file contains comprehensive unit tests for 1D and 2D histogram implementations. The histograms support uniform and custom bin ranges, increment operations, and value retrieval.
Definition in file TestHistogram.cpp.
| TEST_F | ( | HistogramTest | , |
| CustomRanges | |||
| ) |
Definition at line 90 of file TestHistogram.cpp.
References gsl_histogram_alloc(), gsl_histogram_free(), gsl_histogram_get(), gsl_histogram_increment(), and gsl_histogram_set_ranges().

| TEST_F | ( | HistogramTest | , |
| Histogram2D | |||
| ) |
Definition at line 122 of file TestHistogram.cpp.
References gsl_histogram2d_alloc(), gsl_histogram2d_free(), gsl_histogram2d_get(), gsl_histogram2d_increment(), gsl_histogram2d_nx(), gsl_histogram2d_ny(), and gsl_histogram2d_set_ranges_uniform().

| TEST_F | ( | HistogramTest | , |
| Histogram2DCustomRanges | |||
| ) |
Definition at line 138 of file TestHistogram.cpp.
References gsl_histogram2d_alloc(), gsl_histogram2d_free(), gsl_histogram2d_get(), gsl_histogram2d_increment(), and gsl_histogram2d_set_ranges().

| TEST_F | ( | HistogramTest | , |
| Histogram2DOutOfRange | |||
| ) |
Definition at line 155 of file TestHistogram.cpp.
References gsl_histogram2d_alloc(), gsl_histogram2d_free(), gsl_histogram2d_get(), gsl_histogram2d_increment(), and gsl_histogram2d_set_ranges_uniform().

| TEST_F | ( | HistogramTest | , |
| IncrementAndGet | |||
| ) |
Definition at line 75 of file TestHistogram.cpp.
References gsl_histogram_alloc(), gsl_histogram_free(), gsl_histogram_get(), gsl_histogram_increment(), and gsl_histogram_set_ranges_uniform().

| TEST_F | ( | HistogramTest | , |
| OutOfRange | |||
| ) |
Definition at line 106 of file TestHistogram.cpp.
References gsl_histogram_alloc(), gsl_histogram_free(), gsl_histogram_get(), gsl_histogram_increment(), and gsl_histogram_set_ranges_uniform().

| TEST_F | ( | HistogramTest | , |
| UniformRanges | |||
| ) |
Definition at line 56 of file TestHistogram.cpp.
References gsl_histogram_alloc(), gsl_histogram_bins(), gsl_histogram_free(), gsl_histogram_get_range(), and gsl_histogram_set_ranges_uniform().
