f4jumble: Test both directions against test vectors
This commit is contained in:
parent
1dcba34167
commit
35dadc7f6c
|
@ -148,6 +148,8 @@ mod tests {
|
|||
for v in test_vectors() {
|
||||
let jumbled = f4jumble(&v.normal).unwrap();
|
||||
assert_eq!(jumbled, v.jumbled);
|
||||
let unjumbled = f4jumble_inv(&v.jumbled).unwrap();
|
||||
assert_eq!(unjumbled, v.normal);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue