mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
226 B
C++
10 lines
226 B
C++
6 years ago
|
#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");
|
||
|
};
|