Hummingbird Flight Software
Flight software for the Hummingbird FCU quadcopter flight controller. Designed to run on the Teensy 4.1. Developed with VSCode+PlatformIO.
matrix_math_tests.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // MATRIX MATH & LINEAR ALGEBRA LIB UNIT TESTS
3 //
4 // Code By: Michael Wrona
5 // Created: 24 Aug 2021
6 // ----------------------------------------------------------------------------
11 #ifdef UNIT_TEST
12 #pragma once
13 
14 #include <unity.h>
15 #include <Arduino.h>
16 #include "maths/vectors.h"
17 #include "maths/matrices.h"
18 #include "maths/matrix_math.h"
19 
20 void test_linalg_VectorfFill(void);
21 void test_linalg_VectorfAdd(void);
22 void test_linalg_VectorfAccumulate(void);
23 void test_linalg_VectorfSubtract(void);
24 void test_linalg_MatrixFill(void);
25 void test_linalg_MatrixAdd(void);
26 void test_linalg_MatrixSubtract(void);
27 void test_linalg_MatrixVectorfMult(void);
28 void test_linalg_MatrixMultiply(void);
29 void test_linalg_MatrixCholeskyDecomp(void);
30 void test_linalg_MatrixInverseCholesky(void);
31 
32 float* allocate_vectorf(size_t len, size_t fillVal);
33 float* allocate_matrix(size_t rows, size_t cols, float fillVal);
34 
35 
36 
37 #endif