mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
Work on coverage.
This commit is contained in:
parent
abd0ef0143
commit
4bf4611087
@ -1,3 +1,9 @@
|
||||
add_library(instantiation
|
||||
instantiation.cpp
|
||||
)
|
||||
|
||||
link_libraries(instantiation)
|
||||
|
||||
set(tests
|
||||
setIdentity
|
||||
inverse
|
||||
@ -11,7 +17,6 @@ set(tests
|
||||
vector
|
||||
vector3
|
||||
euler
|
||||
instantiation
|
||||
)
|
||||
|
||||
foreach(test ${tests})
|
||||
|
||||
@ -7,17 +7,11 @@
|
||||
#include <Scalar.hpp>
|
||||
#include <Quaternion.hpp>
|
||||
|
||||
using namespace matrix;
|
||||
namespace matrix {
|
||||
|
||||
template class Vector<float, 2>;
|
||||
template class Euler<float>;
|
||||
template class Scalar<float>;
|
||||
template class Matrix<float, 3, 3>;
|
||||
|
||||
int main() {
|
||||
Vector<float, 2> v;
|
||||
Euler<float> e;
|
||||
Scalar<float> s;
|
||||
Matrix<float, 3, 3> m;
|
||||
return 0;
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user