mueller/master #37

Closed
muellerr wants to merge 126 commits from mueller/master into eive/develop
Showing only changes of commit 984816373d - Show all commits

View File

@ -54,6 +54,13 @@ TEST_CASE("DleEncoder" , "[DleEncoder]") {
REQUIRE(buffer[idx] == expected[idx]);
}
REQUIRE(encodedLen == expected.size());
result = dleEncoder.encode(TEST_ARRAY_3.data(), TEST_ARRAY_3.size(),
buffer.data(), 0, &encodedLen);
REQUIRE(result == DleEncoder::STREAM_TOO_SHORT);
result = dleEncoder.encode(TEST_ARRAY_1.data(), TEST_ARRAY_1.size(),
buffer.data(), 4, &encodedLen);
REQUIRE(result == DleEncoder::STREAM_TOO_SHORT);
}
SECTION("Decoding") {