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

Function newEncoderForTest

par1/encoder_test.go:37–39  ·  view source on GitHub ↗
(t *testing.T, fs memfs.MemFS, filePaths []string, volumeCount int)

Source from the content-addressed store, hash-verified

35}
36
37func newEncoderForTest(t *testing.T, fs memfs.MemFS, filePaths []string, volumeCount int) (*Encoder, error) {
38 return newEncoder(testFileIO{t, fs}, testEncoderDelegate{t}, filePaths, volumeCount)
39}
40
41func TestEncodeParity(t *testing.T) {
42 fs := makeEncoderMemFS(memfs.RootDir())

Callers 3

TestEncodeParityFunction · 0.70
testWriteParityFunction · 0.70

Calls 1

newEncoderFunction · 0.70

Tested by

no test coverage detected