mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-07 15:20:31 +00:00
10 lines
225 B
C++
10 lines
225 B
C++
#include <gtest/gtest.h>
|
|
#include <abyss/md5.hpp>
|
|
|
|
TEST(TestMD5, TestMD5)
|
|
{
|
|
std::string str("The quick brown fox jumps over the lazy dog");
|
|
auto H = MD5::SumHex(str);
|
|
ASSERT_EQ(H, "9e107d9d372bb6826bd81d3542a419d6");
|
|
}
|