MCPcopy Create free account
hub / github.com/devfeel/dotweb / Test_GetMd5String_1

Function Test_GetMd5String_1

framework/crypto/cryptos_test.go:11–16  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

9//
10
11func Test_GetMd5String_1(t *testing.T) {
12 str := "123456789"
13 md5str := GetMd5String(str)
14 t.Log("GetMd5String:", md5str)
15 test.Equal(t, "25f9e794323b453885f5181f1b624d0b", md5str)
16}
17
18func Test_GetRandString(t *testing.T) {
19 randStr := GetRandString(12)

Callers

nothing calls this directly

Calls 2

EqualFunction · 0.92
GetMd5StringFunction · 0.85

Tested by

no test coverage detected