(t *testing.T)
| 47 | } |
| 48 | |
| 49 | func TestIsAutomorphic(t *testing.T) { |
| 50 | for _, test := range testCases { |
| 51 | t.Run(test.name, func(t *testing.T) { |
| 52 | funcResult := IsAutomorphic(test.input) |
| 53 | if test.expected != funcResult { |
| 54 | t.Errorf("Expected answer '%t' for the number '%d' but answer given was %t", test.expected, test.input, funcResult) |
| 55 | } |
| 56 | }) |
| 57 | } |
| 58 | } |
nothing calls this directly
no test coverage detected