(t *testing.T)
| 52 | } |
| 53 | |
| 54 | func 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 | |
| 64 | func assertRot13Output(t *testing.T, input, expected string) { |
| 65 | actual := rot13(input) |
nothing calls this directly
no test coverage detected