STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
test_sensor_data_collection.cpp File Reference
#include <unity.h>
#include <cstring>
#include <vector>
#include "DiabloEnums.h"
#include "DiabloPackets.h"
Include dependency graph for test_sensor_data_collection.cpp:

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)

Function Documentation

◆ main()

◆ setUp()

void setUp ( void )

Definition at line 92 of file test_sensor_data_collection.cpp.

◆ tearDown()

void tearDown ( void )

Definition at line 94 of file test_sensor_data_collection.cpp.

◆ test_chunk_add_datapoint()

void test_chunk_add_datapoint ( )

Definition at line 29 of file test_sensor_data_collection.cpp.

References chunk.

Referenced by main().

◆ test_chunk_add_over_capacity()

void test_chunk_add_over_capacity ( )

Definition at line 42 of file test_sensor_data_collection.cpp.

References chunk.

Referenced by main().

◆ test_chunk_clear()

void test_chunk_clear ( )

Definition at line 50 of file test_sensor_data_collection.cpp.

References chunk.

Referenced by main().

◆ test_chunk_constructor()

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().

◆ test_chunk_datapoint_values()

void test_chunk_datapoint_values ( )

Definition at line 62 of file test_sensor_data_collection.cpp.

References chunk.

Referenced by main().

◆ test_chunk_single_sensor()

void test_chunk_single_sensor ( )

Definition at line 81 of file test_sensor_data_collection.cpp.

References chunk.

Referenced by main().

◆ test_chunk_zero_capacity()

void test_chunk_zero_capacity ( )

Definition at line 73 of file test_sensor_data_collection.cpp.

References chunk.

Referenced by main().