Go to the source code of this file.
Functions | |
SortedDeque< DeflatedConstPtr > | generateSignal1 () |
SortedDeque< DeflatedConstPtr > | generateSignal2 () |
int | main (int argc, char **argv) |
TEST (IntervalCalc, easy1) | |
TEST (IntervalCalc, easy2) | |
TEST (IntervalCalc, maxStep1) | |
TEST (IntervalCalc, maxStep2) | |
Variables | |
static const double | dataA [NA][2] |
const unsigned int | NA = 9 |
Generate data for 2 channels
Definition at line 57 of file interval_calc_unittest.cpp.
Generate data for 2 channels. Same at generateSignal1, except there's a time discontinuity between samples 4 & 5.
Definition at line 79 of file interval_calc_unittest.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 164 of file interval_calc_unittest.cpp.
TEST | ( | IntervalCalc | , |
easy1 | |||
) |
Definition at line 104 of file interval_calc_unittest.cpp.
TEST | ( | IntervalCalc | , |
easy2 | |||
) |
Definition at line 119 of file interval_calc_unittest.cpp.
TEST | ( | IntervalCalc | , |
maxStep1 | |||
) |
Definition at line 134 of file interval_calc_unittest.cpp.
TEST | ( | IntervalCalc | , |
maxStep2 | |||
) |
Definition at line 150 of file interval_calc_unittest.cpp.
{ { 0, 0}, { 1, 1}, { 2, 2}, { 3, 3}, { 4, 4}, { 3, 5}, { 2, 6}, { 1, 7}, { 0, 8} }
Definition at line 44 of file interval_calc_unittest.cpp.
const unsigned int NA = 9 |
Definition at line 43 of file interval_calc_unittest.cpp.