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

Function TestRot13Decrypt

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

Source from the content-addressed store, hash-verified

52}
53
54func TestRot13Decrypt(t *testing.T) {
55 for _, test := range rot13TestData {
56 t.Run(test.description, func(t *testing.T) {
57 input := test.expected
58 expected := test.input
59 assertRot13Output(t, input, expected)
60 })
61 }
62}
63
64func assertRot13Output(t *testing.T, input, expected string) {
65 actual := rot13(input)

Callers

nothing calls this directly

Calls 1

assertRot13OutputFunction · 0.85

Tested by

no test coverage detected