2#include "../../../../tests/catch2/catch.hpp"
3#include "../generated/logCodes.hpp"
4#include "../types/telem_pico.hpp"
5#include "../types/generated/telem_pico_generated.h"
6#include "../types/flatbuffer_log.hpp"
13const std::vector<int64_t>
telemPicoCounts_0 = { 5952182157957187975,-2907178991690401224,-1549026650734891803,3994450002567788935,-8913663551846302187,1415280264742643350,-7776669412920792847,6905244488415307123,-5069020632706939165,1131173786957693246 };
44 void* buffPtr = tp.builder.GetBufferPointer();
80 flatlogs::logHeader::createLog<MagAOX::logger::telem_pico>(logBuffer
88SCENARIO(
"Create telem_pico 0",
"[a log item]")
90 GIVEN(
"a telem_pico log code")
92 WHEN(
"random values for fields")
CTelemPico_0(std::vector< int64_t > counts_)
std::vector< int64_t > m_saveTpCounts
bool verify(const typename MagAOX::logger::telem_pico::messageT &msg)
std::vector< int64_t > m_counts
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_pico_fb * GetTelem_pico_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.
SCENARIO("Create telem_pico 0", "[a log item]")
const std::vector< int64_t > telemPicoCounts_0