2#include "../../../../tests/catch2/catch.hpp"
3#include "../generated/logCodes.hpp"
4#include "../types/telem_telcat.hpp"
5#include "../types/generated/telem_telcat_generated.h"
6#include "../types/flatbuffer_log.hpp"
51 CTelemTelcat_0(std::string catObj_, std::string catRm_,
double catRa_,
double catDec_,
double catEp_,
double catRo_) {
64 void* buffPtr = tt.builder.GetBufferPointer();
97 flatlogs::logHeader::createLog<MagAOX::logger::telem_telcat>(logBuffer
107 GIVEN(
"a telem_telcat log code")
109 WHEN(
"random values for fields")
bool verify(const typename MagAOX::logger::telem_telcat::messageT &msg)
CTelemTelcat_0(std::string catObj_, std::string catRm_, double catRa_, double catDec_, double catEp_, double catRo_)
std::string m_saveTtCatRm
std::string m_saveTtCatObj
int8_t logPrioT
The type of the log priority code.
std::shared_ptr< char > bufferPtrT
The log entry buffer smart pointer.
const MagAOX::logger::Telem_telcat_fb * GetTelem_telcat_fb(const void *buf)
static constexpr logPrioT LOG_DEFAULT
Used to denote "use the default level for this log type".
static flatlogs::msgLenT length(const fbMessage &msg)
Get the length of the message.
The type of the input message.
static bool verify(flatlogs::bufferPtrT &logBuff, flatlogs::msgLenT len)
A fixed-width timespec structure.
const double telemTelcatCatRo_0
const std::string telemTelcatCatObj_0
const double telemTelcatCatEp_0
SCENARIO("Create telem_telcat 0", "[a log item]")
const std::string telemTelcatCatRm_0
const double telemTelcatCatRa_0
const double telemTelcatCatDec_0