NinjaFlight
|
#include <stdint.h>
#include <stdbool.h>
#include <limits.h>
#include <math.h>
#include "common/maths.h"
#include "unittest_macros.h"
#include "gtest/gtest.h"
Macros | |
#define | BARO |
Functions | |
TEST (MathsUnittest, TestConstrain) | |
TEST (MathsUnittest, TestConstrainNegatives) | |
TEST (MathsUnittest, TestConstrainf) | |
TEST (MathsUnittest, TestDegreesToRadians) | |
TEST (MathsUnittest, TestApplyDeadband) | |
void | expectVectorsAreEqual (struct fp_vector *a, struct fp_vector *b) |
TEST (MathsUnittest, TestRotateVectorWithNoAngle) | |
TEST (MathsUnittest, TestRotateVectorAroundAxis) | |
#define BARO |
TEST | ( | MathsUnittest | , |
TestConstrain | |||
) |
TEST | ( | MathsUnittest | , |
TestConstrainNegatives | |||
) |
TEST | ( | MathsUnittest | , |
TestConstrainf | |||
) |
TEST | ( | MathsUnittest | , |
TestDegreesToRadians | |||
) |
TEST | ( | MathsUnittest | , |
TestApplyDeadband | |||
) |
TEST | ( | MathsUnittest | , |
TestRotateVectorWithNoAngle | |||
) |
TEST | ( | MathsUnittest | , |
TestRotateVectorAroundAxis | |||
) |