PX4 Firmware
PX4 Autopilot Software http://px4.io
test_EKF_ringbuffer.cpp File Reference
#include <gtest/gtest.h>
#include <math.h>
#include "EKF/ekf.h"
Include dependency graph for test_EKF_ringbuffer.cpp:

Go to the source code of this file.

Classes

struct  sample
 
class  EkfRingBufferTest
 

Functions

 TEST_F (EkfRingBufferTest, goodInitialisation)
 
 TEST_F (EkfRingBufferTest, badInitialisation)
 
 TEST_F (EkfRingBufferTest, orderOfSamples)
 
 TEST_F (EkfRingBufferTest, popSample)
 
 TEST_F (EkfRingBufferTest, askingForTooNewSample)
 
 TEST_F (EkfRingBufferTest, reallocateBuffer)
 

Function Documentation

◆ TEST_F() [1/6]

TEST_F ( EkfRingBufferTest  ,
goodInitialisation   
)

Definition at line 70 of file test_EKF_ringbuffer.cpp.

◆ TEST_F() [2/6]

TEST_F ( EkfRingBufferTest  ,
badInitialisation   
)

Definition at line 78 of file test_EKF_ringbuffer.cpp.

◆ TEST_F() [3/6]

TEST_F ( EkfRingBufferTest  ,
orderOfSamples   
)

Definition at line 88 of file test_EKF_ringbuffer.cpp.

◆ TEST_F() [4/6]

TEST_F ( EkfRingBufferTest  ,
popSample   
)

Definition at line 106 of file test_EKF_ringbuffer.cpp.

References sample::time_us.

◆ TEST_F() [5/6]

TEST_F ( EkfRingBufferTest  ,
askingForTooNewSample   
)

Definition at line 131 of file test_EKF_ringbuffer.cpp.

◆ TEST_F() [6/6]

TEST_F ( EkfRingBufferTest  ,
reallocateBuffer   
)

Definition at line 145 of file test_EKF_ringbuffer.cpp.