Documentation ¶
Overview ¶
Package gerasuretest contains compliance tests for erasure coding encoders and reconstructors.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestFixedRateErasureReconstructionCompliance ¶
func TestFixedRateErasureReconstructionCompliance(t *testing.T, f FixedRateFactory)
TestFixedRateErasureReconstructionCompliance is the compliance test for the pairing of gerasure.Encoder and gerasure.Reconstructor, when using a fixed-rate erasure coding.
Types ¶
type FixedRateFactory ¶
type FixedRateFactory func( origData []byte, nDataShards, nParityShards int, ) (gerasure.Encoder, gerasure.Reconstructor)
FixedRateFactory is the factory function used for TestFixedRateErasureReconstructionCompliance.
Click to show internal directories.
Click to hide internal directories.