|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
#include <unity.h>#include <cstring>#include <vector>#include "DiabloEnums.h"#include "DiabloPackets.h"Go to the source code of this file.
Functions | |
| void | test_chunk_constructor () |
| SensorDataChunkCollection unit tests. | |
| void | test_chunk_add_datapoint () |
| void | test_chunk_add_over_capacity () |
| void | test_chunk_clear () |
| void | test_chunk_datapoint_values () |
| void | test_chunk_zero_capacity () |
| void | test_chunk_single_sensor () |
| void | setUp () |
| void | tearDown () |
| int | main (int argc, char **argv) |
| int main | ( | int | argc, |
| char ** | argv ) |
Definition at line 97 of file test_sensor_data_collection.cpp.
References test_chunk_add_datapoint(), test_chunk_add_over_capacity(), test_chunk_clear(), test_chunk_constructor(), test_chunk_datapoint_values(), test_chunk_single_sensor(), and test_chunk_zero_capacity().
| void setUp | ( | void | ) |
Definition at line 92 of file test_sensor_data_collection.cpp.
| void tearDown | ( | void | ) |
Definition at line 94 of file test_sensor_data_collection.cpp.
| void test_chunk_add_datapoint | ( | ) |
Definition at line 29 of file test_sensor_data_collection.cpp.
References chunk.
Referenced by main().
| void test_chunk_add_over_capacity | ( | ) |
Definition at line 42 of file test_sensor_data_collection.cpp.
References chunk.
Referenced by main().
| void test_chunk_clear | ( | ) |
Definition at line 50 of file test_sensor_data_collection.cpp.
References chunk.
Referenced by main().
| void test_chunk_constructor | ( | ) |
SensorDataChunkCollection unit tests.
Tests the data collection struct used by all sensor boards before serializing into network packets.
Definition at line 20 of file test_sensor_data_collection.cpp.
References chunk.
Referenced by main().
| void test_chunk_datapoint_values | ( | ) |
Definition at line 62 of file test_sensor_data_collection.cpp.
References chunk.
Referenced by main().
| void test_chunk_single_sensor | ( | ) |
Definition at line 81 of file test_sensor_data_collection.cpp.
References chunk.
Referenced by main().
| void test_chunk_zero_capacity | ( | ) |
Definition at line 73 of file test_sensor_data_collection.cpp.
References chunk.
Referenced by main().