MCPcopy Create free account
hub / github.com/chen3feng/toft / TEST

Function TEST

crypto/hash/sha1_test.cpp:12–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10namespace toft {
11
12TEST(SHA1Test, EmptyString) {
13 std::string test_str = "";
14 EXPECT_EQ(SHA1::HexDigest(test_str), "da39a3ee5e6b4b0d3255bfef95601890afd80709");
15};
16
17TEST(SHA1Test, LittleChanged) {
18 std::string test_str = "The quick brown fox jumps over the lazy dog";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected