Skip to content
Snippets Groups Projects

complete the FEC and "linear algebra" tests

Merged STEVAN Antoine requested to merge more-tests into main
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -248,7 +248,7 @@ mod tests {
@@ -248,7 +248,7 @@ mod tests {
k: usize,
k: usize,
test_case: &str,
test_case: &str,
limit: Option<usize>,
limit: Option<usize>,
exclude: Vec<Vec<usize>>,
should_not_be_decodable: Vec<Vec<usize>>,
) {
) {
for c in shards
for c in shards
.iter()
.iter()
@@ -262,7 +262,7 @@ mod tests {
@@ -262,7 +262,7 @@ mod tests {
let actual = decode::<F>(s);
let actual = decode::<F>(s);
if contains_one_of(&is, &exclude) {
if contains_one_of(&is, &should_not_be_decodable) {
assert!(
assert!(
actual.is_err(),
actual.is_err(),
"should not decode with {:?} {test_case}",
"should not decode with {:?} {test_case}",
Loading