Skip to content
Snippets Groups Projects
Verified Commit 433139b4 authored by STEVAN Antoine's avatar STEVAN Antoine 🦀
Browse files

add flooding with duplicated shards

tests take ~34 on my machine.
parent c547cfbd
No related branches found
No related tags found
1 merge request!145complete the FEC and "linear algebra" tests
Pipeline #5406 failed
This commit is part of merge request !145. Comments created here will be created in the context of that merge request.
......@@ -305,6 +305,8 @@ mod tests {
vec![2, 4], // = n
vec![1, 3], // = (n + 1)
vec![n, (n + 1)], // = (n + 2) = ((2, 4), (1, 3))
vec![0], // = (n + 3) = (0)
vec![0], // = (n + 4) = (0)
];
let should_not_be_decodable = vec![
vec![2, 4, n],
......@@ -313,6 +315,9 @@ mod tests {
vec![1, 3, n, (n + 2)],
vec![2, 4, (n + 1), (n + 2)],
vec![1, 2, 3, 4, (n + 2)],
vec![0, (n + 3)],
vec![0, (n + 4)],
vec![(n + 3), (n + 4)],
];
for step in recoding_steps {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment