MCPcopy Create free account
hub / github.com/akalin/gopar / testCoder

Function testCoder

rsec16/coder_test.go:145–152  ·  view source on GitHub ↗
(t *testing.T, testFn func(*testing.T, func(int, int) (Coder, error)))

Source from the content-addressed store, hash-verified

143}
144
145func 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
154func makeTestData() [][]byte {
155 return [][]byte{

Calls

no outgoing calls

Tested by

no test coverage detected