26 lines
No EOL
687 B
C++
26 lines
No EOL
687 B
C++
//==================================================================================================
|
|
/*
|
|
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);
|
|
}; |