1
0
forked from fsfw/fsfw

unittests for TC and CCSDS distributor

This commit is contained in:
2022-08-01 17:16:37 +02:00
parent bf540ebb49
commit 902a4bfa9c
29 changed files with 277 additions and 66 deletions

View File

@ -64,7 +64,7 @@ TEST_CASE("CCSDS Reader", "[ccsds-reader]") {
SECTION("Invalid Size") {
for (size_t i = 0; i < 5; i++) {
REQUIRE(reader.setReadOnlyData(buf.data(), i) == SerializeIF::STREAM_TOO_SHORT);
REQUIRE(not reader.isNull());
REQUIRE(reader.isNull());
REQUIRE(reader.getPacketData() == nullptr);
}
}