channel_test.cpp File Reference
#include <gtest/gtest.h>
#include "interop/logic/utils/channel.h"
#include "interop/logic/utils/metric_type_ext.h"
Functions | |
template<typename T , size_t N> | |
std::vector< T > | to_vector (const T(&vals)[N]) |
TEST (channel_test, normalize) | |
TEST (channel_test, expected2actual_4channel_valid) | |
TEST (channel_test, expected2actual_2channel_valid) | |
TEST (channel_test, expected2actual_valid_4) | |
TEST (channel_test, expected2actual_invalid_channel_1) | |
TEST (channel_test, expected2actual_invalid_channel_2) | |
TEST (channel_test, expected2actual_invalid_channel_3) | |
TEST (channel_test, expected2actual_invalid_channel_4) | |
TEST (channel_test, expected2actual_invalid_channel_5) | |
TEST (channel_test, expected2actual_invalid_channel_6) | |
TEST (channel_test, expected2actual_invalid_channel_7) | |
TEST (channel_test, expected2actual_invalid_channel_8) | |
TEST (channel_test, expected2actual_invalid_channel_9) | |
TEST (channel_test, expected2actual_invalid_channel_10) | |
TEST (channel_test, expected2actual_invalid_channel_11) | |
TEST (channel_test, actual2expected_4channel_valid) | |
TEST (channel_test, actual2expected_2channel_valid) | |
TEST (channel_test, actual2expected_valid_4) | |
TEST (channel_test, actual2expected_ns2k) | |
TEST (channel_test, actual2expected_invalid_channel_1) | |
TEST (channel_test, actual2expected_invalid_channel_2) | |
TEST (channel_test, actual2expected_invalid_channel_3) | |
TEST (channel_test, actual2expected_invalid_channel_4) | |
TEST (channel_test, actual2expected_invalid_channel_5) | |
TEST (channel_test, actual2expected_invalid_channel_6) | |
TEST (channel_test, actual2expected_invalid_channel_7) | |
TEST (channel_test, actual2expected_invalid_channel_8) | |
TEST (channel_test, actual2expected_invalid_channel_9) | |
TEST (channel_test, actual2expected_invalid_channel_10) | |
TEST (channel_test, actual2expected_invalid_channel_11) | |
TEST (channel_test, update_channel_from_instrument) | |
Detailed Description
Unit tests for channel logic
- Date
- 9/10/2016
- Version
- 1.0
- Copyright
- GNU Public License.
Function Documentation
TEST | ( | channel_test | , |
normalize | |||
) |
TEST | ( | channel_test | , |
expected2actual_4channel_valid | |||
) |
TEST | ( | channel_test | , |
expected2actual_2channel_valid | |||
) |
TEST | ( | channel_test | , |
expected2actual_valid_4 | |||
) |
TEST | ( | channel_test | , |
expected2actual_invalid_channel_1 | |||
) |
TEST | ( | channel_test | , |
expected2actual_invalid_channel_2 | |||
) |
TEST | ( | channel_test | , |
expected2actual_invalid_channel_3 | |||
) |
TEST | ( | channel_test | , |
expected2actual_invalid_channel_4 | |||
) |
TEST | ( | channel_test | , |
expected2actual_invalid_channel_5 | |||
) |
TEST | ( | channel_test | , |
expected2actual_invalid_channel_6 | |||
) |
TEST | ( | channel_test | , |
expected2actual_invalid_channel_7 | |||
) |
TEST | ( | channel_test | , |
expected2actual_invalid_channel_8 | |||
) |
TEST | ( | channel_test | , |
expected2actual_invalid_channel_9 | |||
) |
TEST | ( | channel_test | , |
expected2actual_invalid_channel_10 | |||
) |
TEST | ( | channel_test | , |
expected2actual_invalid_channel_11 | |||
) |
TEST | ( | channel_test | , |
actual2expected_4channel_valid | |||
) |
TEST | ( | channel_test | , |
actual2expected_2channel_valid | |||
) |
TEST | ( | channel_test | , |
actual2expected_valid_4 | |||
) |
TEST | ( | channel_test | , |
actual2expected_ns2k | |||
) |
TEST | ( | channel_test | , |
actual2expected_invalid_channel_1 | |||
) |
TEST | ( | channel_test | , |
actual2expected_invalid_channel_2 | |||
) |
TEST | ( | channel_test | , |
actual2expected_invalid_channel_3 | |||
) |
TEST | ( | channel_test | , |
actual2expected_invalid_channel_4 | |||
) |
TEST | ( | channel_test | , |
actual2expected_invalid_channel_5 | |||
) |
TEST | ( | channel_test | , |
actual2expected_invalid_channel_6 | |||
) |
TEST | ( | channel_test | , |
actual2expected_invalid_channel_7 | |||
) |
TEST | ( | channel_test | , |
actual2expected_invalid_channel_8 | |||
) |
TEST | ( | channel_test | , |
actual2expected_invalid_channel_9 | |||
) |
TEST | ( | channel_test | , |
actual2expected_invalid_channel_10 | |||
) |
TEST | ( | channel_test | , |
actual2expected_invalid_channel_11 | |||
) |
TEST | ( | channel_test | , |
update_channel_from_instrument | |||
) |
|
inline |
Convert an array to a vector
Determines the length of the stack array automatically.
- Parameters
-
vals array pointer
- Returns
- vector of values