Skip to content

Commit

Permalink
Upgrade coverage for this PR
Browse files Browse the repository at this point in the history
  • Loading branch information
ckormanyos committed Oct 21, 2024
1 parent 942d62d commit 2be2c7f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions test/test_nist_cavs_detail.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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]()
{
Expand All @@ -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<size_type>(UINT8_C(2)) },
my_msg
Expand Down

0 comments on commit 2be2c7f

Please sign in to comment.