(t *testing.T)
| 18 | } |
| 19 | |
| 20 | func TestCoderCauchyNewCoderError(t *testing.T) { |
| 21 | // Ideally, we'd test that NewCoder(32768, 32767) succeeds, |
| 22 | // but doing so takes 15 seconds! |
| 23 | _, err := newCoderCauchy(32768, 32768) |
| 24 | require.Equal(t, errors.New("too many shards"), err) |
| 25 | } |
| 26 | |
| 27 | func TestGenerators(t *testing.T) { |
| 28 | require.Equal(t, 32768, len(generators)) |
nothing calls this directly
no test coverage detected