diff options
| author | aropan <[email protected]> | 2022-02-10 16:50:14 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:50:14 +0300 |
| commit | 8b7dce1ea48c8a811ae189088c265b2da7600e98 (patch) | |
| tree | 76ce17d16e613e00af5abcceb21c6c1b3037feab /library/cpp/digest/md5/md5_ut.cpp | |
| parent | 5014e8b2e7e17987c50a1b761cee7447f22e006c (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/digest/md5/md5_ut.cpp')
| -rw-r--r-- | library/cpp/digest/md5/md5_ut.cpp | 4 |
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 1c3e4ad0a9f..b3a7a20f57d 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); |
