#include "gtest/gtest.h"
#include "common/util.h"
#include "string_tools.h"
Go to the source code of this file.
|
| | TEST (sha256, empty) |
| |
| | TEST (sha256, small) |
| |
| | TEST (sha256, large) |
| |
◆ TEST() [1/3]
Definition at line 42 of file sha256.cpp.
#define ASSERT_TRUE(condition)
◆ TEST() [2/3]
Definition at line 43 of file sha256.cpp.
43 {
ASSERT_TRUE(check(
"0123456789",
"84d89877f0d4041efb6bf91a16f0248f2fd573e6af05c19f96bedb9f882f7882")); }
#define ASSERT_TRUE(condition)
◆ TEST() [3/3]
Definition at line 44 of file sha256.cpp.
44 {
ASSERT_TRUE(check(
std::string(65536*256, 0),
"080acf35a507ac9849cfcba47dc2ad83e01b75663a516279c8b9d243b719643e")); }
#define ASSERT_TRUE(condition)