Merge branch 'feat/x-files' into 'main'

Use X-macros to generate all combinations of supported Eigen Matrix types

Co-authored-by: Joel Falcou <joel.falcou@lri.fr>

See merge request oss/rotgen!8
This commit is contained in:
Joel Falcou 2025-05-26 14:49:20 +02:00
parent a76020e274
commit 8647639c0d
24 changed files with 1176 additions and 1111 deletions

View file

@ -1,26 +0,0 @@
//==================================================================================================
/*
ROTGEN - Runtime Overlay for Eigen
Copyright : CODE RECKONS
SPDX-License-Identifier: BSL-1.0
*/
//==================================================================================================
#define TTS_MAIN
#include <rotgen/matrix.hpp>
#include <sstream>
#include "tts.hpp"
TTS_CASE("Sample test")
{
rotgen::matrix<double,5,5> x;
std::ostringstream os;
os << x;
std::string ref = "0 0 0 0 0\n"
"0 0 0 0 0\n"
"0 0 0 0 0\n"
"0 0 0 0 0\n"
"0 0 0 0 0";
TTS_EQUAL(os.str(), ref);
};