summaryrefslogtreecommitdiffstats
path: root/library/cpp/digest/md5/md5_ut.cpp
diff options
context:
space:
mode:
authoraropan <[email protected]>2022-02-10 16:50:14 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:50:14 +0300
commit69d5172b45a4cd66fceb1426e88983d1e0c5c026 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/digest/md5/md5_ut.cpp
parent8b7dce1ea48c8a811ae189088c265b2da7600e98 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/digest/md5/md5_ut.cpp')
-rw-r--r--library/cpp/digest/md5/md5_ut.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/digest/md5/md5_ut.cpp b/library/cpp/digest/md5/md5_ut.cpp
index b3a7a20f57d..1c3e4ad0a9f 100644
--- a/library/cpp/digest/md5/md5_ut.cpp
+++ b/library/cpp/digest/md5/md5_ut.cpp
@@ -48,7 +48,7 @@ Y_UNIT_TEST_SUITE(TMD5Test) {
fileHash = MD5::File(tmpFile);
UNIT_ASSERT_EQUAL(fileHash.size(), 0);
}
-
+
Y_UNIT_TEST(TestIsMD5) {
UNIT_ASSERT_EQUAL(false, MD5::IsMD5(TStringBuf()));
UNIT_ASSERT_EQUAL(false, MD5::IsMD5(TStringBuf("4136ebb0e4c45d21e2b09294c75cfa0"))); // length 31
@@ -57,7 +57,7 @@ Y_UNIT_TEST_SUITE(TMD5Test) {
UNIT_ASSERT_EQUAL(true, MD5::IsMD5(TStringBuf("4136EBB0E4C45D21E2B09294C75CFA08")));
UNIT_ASSERT_EQUAL(true, MD5::IsMD5(TStringBuf("4136ebb0E4C45D21e2b09294C75CfA08")));
UNIT_ASSERT_EQUAL(true, MD5::IsMD5(TStringBuf("4136ebb0e4c45d21e2b09294c75cfa08")));
- }
+ }
Y_UNIT_TEST(TestMd5HalfMix) {
UNIT_ASSERT_EQUAL(MD5::CalcHalfMix(""), 7203772011789518145ul);