Macros | Functions
test_ring_buffer.cpp File Reference
#include "gtest/gtest.h"
#include <deque>
#include "../ring_buffer.h"
#include "../ISComm.h"
Include dependency graph for test_ring_buffer.cpp:

Go to the source code of this file.

Macros

#define BUFFER_SIZE   1024
 
#define BUFFERA_SIZE   4
 
#define BUFFERX_SIZE   1000
 
#define OVERLAP_SIZE   450
 
#define OVRLAPA_SIZE   3
 

Functions

 TEST (RingBuffer, U8_1for1_Test)
 
 TEST (RingBuffer, U32_1for1_Test)
 
 TEST (RingBuffer, WriteReadWriteReadTest)
 
 TEST (RingBuffer, U32TestWriteThenReadTest)
 
 TEST (RingBuffer, PacketTest)
 
 TEST (RingBuffer, WriteOverflowTest)
 
 TEST (RingBuffer, FloatArrayWithOverflow)
 

Macro Definition Documentation

◆ BUFFER_SIZE

#define BUFFER_SIZE   1024

Definition at line 6 of file test_ring_buffer.cpp.

◆ BUFFERA_SIZE

#define BUFFERA_SIZE   4

◆ BUFFERX_SIZE

#define BUFFERX_SIZE   1000

◆ OVERLAP_SIZE

#define OVERLAP_SIZE   450

◆ OVRLAPA_SIZE

#define OVRLAPA_SIZE   3

Function Documentation

◆ TEST() [1/7]

TEST ( RingBuffer  ,
U8_1for1_Test   
)

Definition at line 8 of file test_ring_buffer.cpp.

◆ TEST() [2/7]

TEST ( RingBuffer  ,
U32_1for1_Test   
)

Definition at line 30 of file test_ring_buffer.cpp.

◆ TEST() [3/7]

TEST ( RingBuffer  ,
WriteReadWriteReadTest   
)

Definition at line 55 of file test_ring_buffer.cpp.

◆ TEST() [4/7]

TEST ( RingBuffer  ,
U32TestWriteThenReadTest   
)

Definition at line 110 of file test_ring_buffer.cpp.

◆ TEST() [5/7]

TEST ( RingBuffer  ,
PacketTest   
)

Definition at line 136 of file test_ring_buffer.cpp.

◆ TEST() [6/7]

TEST ( RingBuffer  ,
WriteOverflowTest   
)

Definition at line 208 of file test_ring_buffer.cpp.

◆ TEST() [7/7]

TEST ( RingBuffer  ,
FloatArrayWithOverflow   
)

Definition at line 243 of file test_ring_buffer.cpp.



inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:07