Added basic tests infrastructrue
This commit is contained in:
parent
03c2e69c3f
commit
3caf08e4c1
4 changed files with 232 additions and 1 deletions
9
test/CMakeLists.txt
Normal file
9
test/CMakeLists.txt
Normal 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
8
test/basic/io.cpp
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#include <iostream>
|
||||
#include <rotgen/matrix.hpp>
|
||||
|
||||
int main()
|
||||
{
|
||||
rotgen::matrix<double,5,5> x;
|
||||
std::cout << x << "\n";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue