Include log messages in unit tests (#5666)

* Include log messages in unit tests

* Provide an initial time value

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
Eric Severance
2024-12-25 18:42:15 -08:00
committed by GitHub
parent 1281da627e
commit cc357df489
4 changed files with 25 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
#include "CryptoEngine.h"
#include "TestUtil.h"
#include <unity.h>
void HexToBytes(uint8_t *result, const std::string hex, size_t len = 0)
@@ -170,6 +171,7 @@ void setup()
delay(10);
delay(2000);
initializeTestEnvironment();
UNITY_BEGIN(); // IMPORTANT LINE!
RUN_TEST(test_SHA256);
RUN_TEST(test_ECB_AES256);