updated md5 sum of the test file Md5.h (which changed recently)
This commit is contained in:
parent
ba27d2dfe0
commit
f2bfe0b099
1 changed files with 2 additions and 2 deletions
|
@ -106,14 +106,14 @@ Md5Test :: firstTest(void)
|
||||||
FILE *f = fopen("src/Md5Test.h", "r");
|
FILE *f = fopen("src/Md5Test.h", "r");
|
||||||
Md5 testFile(f);
|
Md5 testFile(f);
|
||||||
CPPUNIT_ASSERT(testFile.hexDigest()
|
CPPUNIT_ASSERT(testFile.hexDigest()
|
||||||
== "f60ee2049d9ed598ad35ee24f98de1f6");
|
== "eb7be2dc3d542a9f1682c363f25e1977");
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
|
||||||
// test the construction from an istream
|
// test the construction from an istream
|
||||||
std::ifstream ifs("src/Md5Test.h");
|
std::ifstream ifs("src/Md5Test.h");
|
||||||
Md5 testFileStream(ifs);
|
Md5 testFileStream(ifs);
|
||||||
CPPUNIT_ASSERT(testFileStream.hexDigest()
|
CPPUNIT_ASSERT(testFileStream.hexDigest()
|
||||||
== "f60ee2049d9ed598ad35ee24f98de1f6");
|
== "eb7be2dc3d542a9f1682c363f25e1977");
|
||||||
ifs.close();
|
ifs.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue