Added basic tests infrastructrue

This commit is contained in:
Joel Falcou 2025-05-12 10:16:47 +02:00
parent 03c2e69c3f
commit 3caf08e4c1
4 changed files with 232 additions and 1 deletions

9
test/CMakeLists.txt Normal file
View file

@ -0,0 +1,9 @@
##======================================================================================================================
## ROTGEN - Runtime Overlay for Eigen
## Copyright : CODE RECKONS
## SPDX-License-Identifier: BSL-1.0
##======================================================================================================================
include(${ROTGEN_SOURCE_DIR}/cmake/unit.cmake)
rotgen_setup_test_targets()
rotgen_glob_unit(PATTERN "basic/*.cpp" INTERFACE rotgen)

8
test/basic/io.cpp Normal file
View file

@ -0,0 +1,8 @@
#include <iostream>
#include <rotgen/matrix.hpp>
int main()
{
rotgen::matrix<double,5,5> x;
std::cout << x << "\n";
}