From 2be2c7ff273300dec489a3b1360a785ec205bb17 Mon Sep 17 00:00:00 2001 From: ckormanyos Date: Mon, 21 Oct 2024 18:42:04 +0200 Subject: [PATCH] Upgrade coverage for this PR --- test/test_nist_cavs_detail.hpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/test/test_nist_cavs_detail.hpp b/test/test_nist_cavs_detail.hpp index 79085a97..d05d9135 100644 --- a/test/test_nist_cavs_detail.hpp +++ b/test/test_nist_cavs_detail.hpp @@ -46,9 +46,12 @@ struct test_object_hash test_object_hash() = delete; - // Construct hash test object with result only (no message and no length). + // Construct this hash test object by setting the result only. + // There is no message and there is no length available for + // this hash test object. + explicit test_object_hash(const std::string& str_result) - : my_result + : my_result // LCOV_EXCL_LINE { [&str_result]() { @@ -58,7 +61,8 @@ struct test_object_hash } { } - // Construct hash test object with all of message, length and result. + // Construct this hash test object with all of message, length and result. + explicit test_object_hash(const std::string& str_data, const std::string& str_result) : my_length { str_data.size() / static_cast(UINT8_C(2)) }, my_msg