start ccsds reader unittests
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
target_sources(${FSFW_TEST_TGT} PRIVATE
|
||||
TestCcsdsReader.cpp
|
||||
testCcsdsCreator.cpp
|
||||
testCcsdsReader.cpp
|
||||
)
|
||||
|
@ -3,9 +3,9 @@
|
||||
#include <cmath>
|
||||
|
||||
#include "fsfw/tmtcpacket/SpacePacketCreator.h"
|
||||
#include "fsfw/tmtcpacket/SpacePacketReader.h"
|
||||
|
||||
TEST_CASE("CCSDS Test", "[ccsds]") {
|
||||
|
||||
TEST_CASE("CCSDS Creator", "[ccsds-creator]") {
|
||||
SpacePacketCreator base = SpacePacketCreator(ccsds::PacketType::TC, true, 0x02,
|
||||
ccsds::SequenceFlags::FIRST_SEGMENT, 0x34, 0x16);
|
||||
std::array<uint8_t, 6> buf{};
|
6
unittests/tmtcpacket/testCcsdsReader.cpp
Normal file
6
unittests/tmtcpacket/testCcsdsReader.cpp
Normal file
@ -0,0 +1,6 @@
|
||||
#include <catch2/catch_test_macros.hpp>
|
||||
#include "fsfw/tmtcpacket/SpacePacketReader.h"
|
||||
|
||||
TEST_CASE("CCSDS Reader", "[ccsds-reader]") {
|
||||
|
||||
}
|
Reference in New Issue
Block a user