(t *testing.T, testFn func(*testing.T, func(int, int) (Coder, error)))
| 143 | } |
| 144 | |
| 145 | func testCoder(t *testing.T, testFn func(*testing.T, func(int, int) (Coder, error))) { |
| 146 | t.Run("Cauchy", func(t *testing.T) { |
| 147 | testFn(t, newCoderCauchy) |
| 148 | }) |
| 149 | t.Run("PAR2Vandermonde", func(t *testing.T) { |
| 150 | testFn(t, newCoderPAR2Vandermonde) |
| 151 | }) |
| 152 | } |
| 153 | |
| 154 | func makeTestData() [][]byte { |
| 155 | return [][]byte{ |
no outgoing calls
no test coverage detected