(b *testing.B)
| 41 | } |
| 42 | |
| 43 | func BenchmarkIsKrishnamurthyNumber(b *testing.B) { |
| 44 | for _, test := range retCases() { |
| 45 | b.Run(fmt.Sprintf("%d %s a Krishnamurthy Number", test.input, test.outputString), func(b *testing.B) { |
| 46 | for i := 0; i < b.N; i++ { |
| 47 | IsKrishnamurthyNumber(test.input) |
| 48 | } |
| 49 | }) |
| 50 | } |
| 51 | } |
nothing calls this directly
no test coverage detected