MCPcopy Create free account
hub / github.com/TheAlgorithms/Go / TestRot13Encrypt

Function TestRot13Encrypt

cipher/rot13/rot13_test.go:44–52  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

42}
43
44func TestRot13Encrypt(t *testing.T) {
45 for _, test := range rot13TestData {
46 t.Run(test.description, func(t *testing.T) {
47 input := test.input
48 expected := test.expected
49 assertRot13Output(t, input, expected)
50 })
51 }
52}
53
54func TestRot13Decrypt(t *testing.T) {
55 for _, test := range rot13TestData {

Callers

nothing calls this directly

Calls 1

assertRot13OutputFunction · 0.85

Tested by

no test coverage detected