//================================================================================================== /* ROTGEN - Runtime Overlay for Eigen Copyright : CODE RECKONS SPDX-License-Identifier: BSL-1.0 */ //================================================================================================== #define TTS_MAIN #define TTS_CUSTOM_DRIVER_FUNCTION rotgen_main #include "tts.hpp" #include "unit/common/references.hpp" #include #include #include #include namespace rotgen::tests { template struct constant { static constexpr auto value = N; }; using scalar = tts::types; using order = tts::types,constant>; using types = tts::types< tts::types> , tts::types> , tts::types> , tts::types> >; } #include template constexpr bool verify_rotgen_reentrance(T const&) { if constexpr(rotgen::use_expression_templates) return true; else return rotgen::concepts::entity; } int main(int argc, char const **argv) { ::tts::initialize(argc,argv); #ifdef NDEBUG constexpr auto assert_status = "Disabled"; #else constexpr auto assert_status = "Enabled"; #endif std::cout << "[ROTGEN] - Assertions: " << assert_status << std::endl; rotgen::setup_summary(std::cout); rotgen_main(argc, argv); return tts::report(0,0); }